Skip to content

Commit 56f4f6b

Browse files
committed
Always register the swift-lldb debug adapter provider
Fixes #848 We can always register this and that way the user does not need to reload the window when use change to using lldb-dap. Now they can use the updated debug configurations right away
1 parent cce8501 commit 56f4f6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/extension.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ export async function activate(context: vscode.ExtensionContext): Promise<Api |
213213

214214
const testExplorerObserver = TestExplorer.observeFolders(workspaceContext);
215215

216-
if (configuration.debugger.useDebugAdapterFromToolchain) {
217-
const lldbDebugAdapter = registerLLDBDebugAdapter(workspaceContext);
218-
context.subscriptions.push(lldbDebugAdapter);
219-
}
216+
// Register swift-lldb debug provider
217+
const lldbDebugAdapter = registerLLDBDebugAdapter(workspaceContext);
218+
context.subscriptions.push(lldbDebugAdapter);
219+
220220
const loggingDebugAdapter = registerLoggingDebugAdapterTracker();
221221

222222
// setup workspace context with initial workspace folders

0 commit comments

Comments
 (0)