File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
lldb/tools/lldb-dap/src-ts Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,9 @@ export async function createDebugAdapterExecutable(
169169 workspaceFolder : vscode . WorkspaceFolder | undefined ,
170170 configuration : vscode . DebugConfiguration ,
171171) : Promise < vscode . DebugAdapterExecutable > {
172- const config = vscode . workspace . workspaceFile ? vscode . workspace . getConfiguration ( "lldb-dap" ) : vscode . workspace . getConfiguration ( "lldb-dap" , workspaceFolder ) ;
172+ const config = vscode . workspace . workspaceFile
173+ ? vscode . workspace . getConfiguration ( "lldb-dap" )
174+ : vscode . workspace . getConfiguration ( "lldb-dap" , workspaceFolder ) ;
173175 const log_path = config . get < string > ( "log-path" ) ;
174176 let env : { [ key : string ] : string } = { } ;
175177 if ( log_path ) {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export class LLDBDapServer implements vscode.Disposable {
2626 args : string [ ] ,
2727 options ?: child_process . SpawnOptionsWithoutStdio ,
2828 ) : Promise < { host : string ; port : number } | undefined > {
29- const dapArgs = [ ...args , "--connection" , "listen://localhost:0" ] ;
29+ const dapArgs = [ ...args , "--connection" , "listen://localhost:0" ] ;
3030 if ( ! ( await this . shouldContinueStartup ( dapPath , dapArgs ) ) ) {
3131 return undefined ;
3232 }
You can’t perform that action at this time.
0 commit comments