Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7afec44

Browse files
rkeithhillrjmholt
authored andcommitted
Explicitly return undefined from resolveDbgConfig when sessn not started (#1548)
In the September drop of VSCode this fixes the issue with VSCode opening launch.json in this case. Technically just returning nothing works but better to be explicit in this case I think. microsoft/vscode#54213 (comment)
1 parent f18e230 commit 7afec44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/features/DebugSession.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class DebugSessionFeature implements IFeature, DebugConfigurationProvider
5353
const msg = "Cannot debug or run a PowerShell script until the PowerShell session has started. " +
5454
"Wait for the PowerShell session to finish starting and try again.";
5555
vscode.window.showWarningMessage(msg);
56-
return;
56+
returnundefined;
5757
}
5858

5959
// Starting a debug session can be done when there is no document open e.g. attach to PS host process

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /