Make console.warn yellow, make console.log(error) not red (#16435)

This commit is contained in:
Jarred Sumner
2025-01-16 00:43:26 -08:00
committed by GitHub
parent 54eb8233f5
commit 4cb8e37474
8 changed files with 277 additions and 41 deletions

4
.vscode/launch.json generated vendored
View File

@@ -160,14 +160,14 @@
"request": "launch",
"name": "bun run [file]",
"program": "${workspaceFolder}/build/debug/bun-debug",
"args": ["run", "${file}"],
"args": ["--eval", "console.warn(new Error(\"hello\"))"],
"cwd": "${fileDirname}",
"env": {
"FORCE_COLOR": "0",
"BUN_DEBUG_QUIET_LOGS": "1",
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
},
"console": "internalConsole",
"console": "integratedTerminal",
// Don't pause when the GC runs while the debugger is open.
"postRunCommands": ["command source '${workspaceFolder}/misctools/lldb/lldb_commands'"],
},