Skip to content

Commit 6ec8b4e

Browse files
Use workspace when getting the launch.json
1 parent da7ee7b commit 6ec8b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function getConfigurationsForWorkspace(workspace: WorkspaceFolder):
1111
const filename = path.join(workspace.uri.fsPath, '.vscode', 'launch.json');
1212
if (!(await fs.pathExists(filename))) {
1313
// Check launch config in the workspace file
14-
const codeWorkspaceConfig = getConfiguration('launch');
14+
const codeWorkspaceConfig = getConfiguration('launch', workspace);
1515
if (!codeWorkspaceConfig.configurations || !Array.isArray(codeWorkspaceConfig.configurations)) {
1616
return [];
1717
}

0 commit comments

Comments
 (0)