Skip to content

Commit 7a4b28f

Browse files
committed
Merged PR 477191: Merged PR 476716: Handle Run and Debug without Debugging
Merged PR 476716: Handle Run and Debug without Debugging Handle Run and Debug without Debugging This PR adds an additional check to pass on the resolveDebugConfigurationCall other csharp languange handlers so those debuggers and handle the Run and Debug call with 'noDebug: true' Related work items: #1831624 Related work items: #1831624
1 parent afc4b32 commit 7a4b28f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/dotnetConfigurationProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class DotnetConfigurationResolver implements vscode.DebugConfigurationPro
6161

6262
async resolveDebugConfiguration(folder: vscode.WorkspaceFolder | undefined, debugConfiguration: vscode.DebugConfiguration, token?: vscode.CancellationToken): Promise<vscode.DebugConfiguration | undefined> {
6363
/** This {@link vscode.DebugConfigurationProvider} does not handle Run and Debug */
64-
if (Object.keys(debugConfiguration).length == 0) {
64+
if (debugConfiguration.type === undefined) {
6565
return debugConfiguration;
6666
}
6767

0 commit comments

Comments
 (0)