Skip to content

Commit 33f423c

Browse files
Read launch from devcontainer (#23817)
Closed: microsoft/vscode-python-debugger#354
1 parent 8c18f74 commit 33f423c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/debugger/extension/configuration/launch.json/launchJsonReader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ export async function getConfigurationsForWorkspace(workspace: WorkspaceFolder):
1212
const filename = path.join(workspace.uri.fsPath, '.vscode', 'launch.json');
1313
if (!(await fs.pathExists(filename))) {
1414
// Check launch config in the workspace file
15-
const codeWorkspaceConfig = getConfiguration('launch');
15+
const codeWorkspaceConfig = getConfiguration('launch', workspace);
1616
if (!codeWorkspaceConfig.configurations || !Array.isArray(codeWorkspaceConfig.configurations)) {
1717
return [];
1818
}
19-
traceLog(`Using launch configuration in workspace folder.`);
19+
traceLog(`Using launch configuration in workspace folder2.`, codeWorkspaceConfig.configurations);
2020
return codeWorkspaceConfig.configurations;
2121
}
2222

0 commit comments

Comments
 (0)