From eeb683d977cb8f40910c32b719ccc9223d869280 Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Fri, 1 Sep 2023 15:35:14 -0700 Subject: Fix run button starting cwd at / --- packages/bun-vscode/src/features/debug.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/bun-vscode/src/features/debug.ts') diff --git a/packages/bun-vscode/src/features/debug.ts b/packages/bun-vscode/src/features/debug.ts index e53fcba55..8d2b3327a 100644 --- a/packages/bun-vscode/src/features/debug.ts +++ b/packages/bun-vscode/src/features/debug.ts @@ -9,6 +9,7 @@ const debugConfiguration: vscode.DebugConfiguration = { request: "launch", name: "Debug Bun", program: "${file}", + cwd: "${workspaceFolder}", stopOnEntry: false, watchMode: false, }; @@ -18,6 +19,7 @@ const runConfiguration: vscode.DebugConfiguration = { request: "launch", name: "Run Bun", program: "${file}", + cwd: "${workspaceFolder}", noDebug: true, watchMode: false, }; -- cgit v1.2.3