Skip to content

Commit e673cc2

Browse files
authored
Restore WASM debug hook (#7843) (#7845)
2 parents 6518ff0 + 6c4e840 commit e673cc2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/razor/src/extension.ts

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ import { RazorFormatNewFileHandler } from './formatNewFile/razorFormatNewFileHan
5050
import { InlayHintHandler } from './inlayHint/inlayHintHandler';
5151
import { InlayHintResolveHandler } from './inlayHint/inlayHintResolveHandler';
5252
import { getComponentPaths } from '../../lsptoolshost/builtInComponents';
53+
import { BlazorDebugConfigurationProvider } from './blazorDebug/blazorDebugConfigurationProvider';
5354

5455
// We specifically need to take a reference to a particular instance of the vscode namespace,
5556
// otherwise providers attempt to operate on the null extension.
@@ -295,6 +296,9 @@ export async function activate(
295296
localRegistrations.length = 0;
296297
});
297298

299+
const provider = new BlazorDebugConfigurationProvider(logger, vscodeType);
300+
context.subscriptions.push(vscodeType.debug.registerDebugConfigurationProvider('blazorwasm', provider));
301+
298302
languageServerClient.onStarted(async () => {
299303
await documentManager.initialize();
300304
});

0 commit comments

Comments
 (0)