From b01bd3566d823714cd829f7c07470d7710762ba3 Mon Sep 17 00:00:00 2001 From: snoglobe Date: Thu, 10 Oct 2024 15:10:12 -0700 Subject: [PATCH] bun build [file] debug config --- .vscode/launch.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index b005b8adf3aca..8666a64317583 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -146,6 +146,21 @@ "action": "openExternally", }, }, + // bun build [file] + { + "type": "lldb", + "request": "launch", + "name": "bun build [file]", + "program": "${workspaceFolder}/build/debug/bun-debug", + "args": ["build", "${fileBasename}"], + "cwd": "${fileDirname}", + "env": { + "FORCE_COLOR": "0", + "BUN_DEBUG_QUIET_LOGS": "1", + "BUN_GARBAGE_COLLECTOR_LEVEL": "2", + }, + "console": "internalConsole", + }, // bun run [file] { "type": "lldb", @@ -1192,4 +1207,4 @@ "description": "Usage: bun test [...]", }, ], -} \ No newline at end of file +}