From 95d0052629b1cc65a0647f927cc1b13f4407b7c8 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Fri, 4 Nov 2022 14:14:53 -0700 Subject: [PATCH] Mock-debug has actually implemented this. vscode does not properly respect this property, microsoft/vscode#144211 (#80) --- .vscode/settings.json | 5 ++++- src/mockDebug.ts | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 30bf8c2..4ed935b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,5 +7,8 @@ "out": true // set this to false to include "out" folder in search results }, // Turn off tsc task auto detection since we have the necessary tasks as npm scripts - "typescript.tsc.autoDetect": "off" + "typescript.tsc.autoDetect": "off", + + "git.branchProtection": ["main"], + "git.branchProtectionPrompt": "alwaysCommitToNewBranch" } \ No newline at end of file diff --git a/src/mockDebug.ts b/src/mockDebug.ts index 738e297..5bfc23d 100644 --- a/src/mockDebug.ts +++ b/src/mockDebug.ts @@ -216,6 +216,7 @@ export class MockDebugSession extends LoggingDebugSession { response.body.supportSuspendDebuggee = true; response.body.supportTerminateDebuggee = true; response.body.supportsFunctionBreakpoints = true; + response.body.supportsDelayedStackTraceLoading = true; this.sendResponse(response);