From 36ad2974abed85ddff426e97a596b43a9717483a Mon Sep 17 00:00:00 2001 From: Don Isaac Date: Sun, 12 Jan 2025 09:40:16 -0800 Subject: [PATCH] fix(launch): `bun run ...` launch configs (#16234) --- .vscode/launch.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 817b7533d3e3a2..4897a4b1ec58fd 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -160,7 +160,7 @@ "request": "launch", "name": "bun run [file]", "program": "${workspaceFolder}/build/debug/bun-debug", - "args": ["run", "${fileBasename}"], + "args": ["run", "${file}"], "cwd": "${fileDirname}", "env": { "FORCE_COLOR": "0", @@ -176,7 +176,7 @@ "request": "launch", "name": "bun run [file] (fast)", "program": "${workspaceFolder}/build/debug/bun-debug", - "args": ["run", "${fileBasename}"], + "args": ["run", "${file}"], "cwd": "${fileDirname}", "env": { "BUN_DEBUG_QUIET_LOGS": "1", @@ -195,7 +195,7 @@ "request": "launch", "name": "bun run [file] (verbose)", "program": "${workspaceFolder}/build/debug/bun-debug", - "args": ["run", "${fileBasename}"], + "args": ["run", "${file}"], "cwd": "${fileDirname}", "env": { "BUN_DEBUG_QUIET_LOGS": "0", @@ -210,7 +210,7 @@ "request": "launch", "name": "bun run [file] --watch", "program": "${workspaceFolder}/build/debug/bun-debug", - "args": ["run", "--watch", "${fileBasename}"], + "args": ["run", "--watch", "${file}"], "cwd": "${fileDirname}", "env": { // "BUN_DEBUG_DEBUGGER": "1", @@ -228,7 +228,7 @@ "request": "launch", "name": "bun run [file] --hot", "program": "${workspaceFolder}/build/debug/bun-debug", - "args": ["run", "--hot", "${fileBasename}"], + "args": ["run", "--hot", "${file}"], "cwd": "${fileDirname}", "env": { "BUN_DEBUG_QUIET_LOGS": "1", @@ -243,7 +243,7 @@ "request": "launch", "name": "bun run [file] --inspect", "program": "${workspaceFolder}/build/debug/bun-debug", - "args": ["run", "${fileBasename}"], + "args": ["run", "${file}"], "cwd": "${fileDirname}", "env": { "FORCE_COLOR": "0", @@ -265,7 +265,7 @@ "request": "launch", "name": "bun run [file] --inspect-brk", "program": "${workspaceFolder}/build/debug/bun-debug", - "args": ["run", "${fileBasename}"], + "args": ["run", "${file}"], "cwd": "${fileDirname}", "env": { "FORCE_COLOR": "0",