File tree 1 file changed +2
-2
lines changed
src/client/debugger/extension/configuration/launch.json 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ export async function getConfigurationsForWorkspace(workspace: WorkspaceFolder):
12
12
const filename = path . join ( workspace . uri . fsPath , '.vscode' , 'launch.json' ) ;
13
13
if ( ! ( await fs . pathExists ( filename ) ) ) {
14
14
// Check launch config in the workspace file
15
- const codeWorkspaceConfig = getConfiguration ( 'launch' ) ;
15
+ const codeWorkspaceConfig = getConfiguration ( 'launch' , workspace ) ;
16
16
if ( ! codeWorkspaceConfig . configurations || ! Array . isArray ( codeWorkspaceConfig . configurations ) ) {
17
17
return [ ] ;
18
18
}
19
- traceLog ( `Using launch configuration in workspace folder.` ) ;
19
+ traceLog ( `Using launch configuration in workspace folder2.` , codeWorkspaceConfig . configurations ) ;
20
20
return codeWorkspaceConfig . configurations ;
21
21
}
22
22
You can’t perform that action at this time.
0 commit comments