diff options
author | 2023-09-01 15:35:14 -0700 | |
---|---|---|
committer | 2023-09-01 15:35:14 -0700 | |
commit | eeb683d977cb8f40910c32b719ccc9223d869280 (patch) | |
tree | 9a9fdd7d93a437b7815bbfb750b46be7e7f9fd81 | |
parent | 0fd0ad993bf30dc9af1cbe0459bc49db0dd52137 (diff) | |
download | bun-eeb683d977cb8f40910c32b719ccc9223d869280.tar.gz bun-eeb683d977cb8f40910c32b719ccc9223d869280.tar.zst bun-eeb683d977cb8f40910c32b719ccc9223d869280.zip |
Fix run button starting cwd at /
-rw-r--r-- | packages/bun-vscode/src/features/debug.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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, }; |