mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
178 lines
4.2 KiB
JSON
Generated
178 lines
4.2 KiB
JSON
Generated
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "bun test",
|
|
"program": "bun-debug",
|
|
"args": ["wiptest", "${file}"],
|
|
"cwd": "${workspaceFolder}/test/bun.js",
|
|
"env": {
|
|
"FORCE_COLOR": "1"
|
|
},
|
|
"console": "internalConsole"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "bun test (all)",
|
|
"program": "bun-debug",
|
|
"args": ["wiptest"],
|
|
"cwd": "${workspaceFolder}/test",
|
|
"env": {
|
|
"FORCE_COLOR": "1",
|
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
|
},
|
|
"console": "internalConsole"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "bun run current file",
|
|
"program": "bun-debug",
|
|
"args": ["${file}"],
|
|
"cwd": "${file}/../../",
|
|
"env": {
|
|
"FORCE_COLOR": "1"
|
|
},
|
|
"console": "internalConsole"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "bun run (hot)",
|
|
"program": "bun-debug",
|
|
"args": ["--hot", "${file}"],
|
|
"cwd": "${file}/../../",
|
|
"env": {
|
|
"FORCE_COLOR": "1"
|
|
},
|
|
"console": "internalConsole"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "bun run",
|
|
"program": "bun-debug",
|
|
"args": ["check.tsx", "-c"],
|
|
"cwd": "${env:HOME}/Build/react-ssr",
|
|
"env": {
|
|
"FORCE_COLOR": "1"
|
|
},
|
|
"console": "internalConsole"
|
|
},
|
|
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "bun http example",
|
|
"program": "bun-debug",
|
|
"args": ["run", "examples/http.ts"],
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"FORCE_COLOR": "1"
|
|
},
|
|
"console": "internalConsole"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "bun http file example",
|
|
"program": "bun-debug",
|
|
"args": ["run", "examples/bun/http-file.ts"],
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"FORCE_COLOR": "1"
|
|
},
|
|
"console": "internalConsole"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "bun html-rewriter example",
|
|
"program": "bun-debug",
|
|
"args": ["run", "examples/bun/html-rewriter.ts"],
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"FORCE_COLOR": "1"
|
|
},
|
|
"console": "internalConsole"
|
|
},
|
|
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "HTTP bench",
|
|
"program": "${workspaceFolder}/misctools/http_bench",
|
|
"args": ["https://twitter.com", "--count=100"],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "internalConsole"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "bun build debug",
|
|
"program": "bun-debug",
|
|
"args": ["build", "--platform=bun", "--outdir=/tmp/testout", "${file}"],
|
|
"cwd": "${file}/../../",
|
|
"console": "internalConsole",
|
|
"env": {
|
|
"BUN_CONFIG_MINIFY_WHITESPACE": "1"
|
|
}
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "bunx debug",
|
|
"program": "bun-debug",
|
|
"args": ["--bun", "x", "tsc", "--help"],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "internalConsole",
|
|
"env": {
|
|
"BUN_DEBUG_QUIET_LOGS": "1"
|
|
}
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "bun install",
|
|
"program": "bun-debug",
|
|
"args": ["install"],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "internalConsole",
|
|
"env": {
|
|
"BUN_DEBUG_QUIET_LOGS": "1"
|
|
}
|
|
},
|
|
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "fetch debug",
|
|
"program": "${workspaceFolder}/misctools/fetch",
|
|
"args": ["https://example.com", "--verbose"],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "internalConsole"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Build zig unit test",
|
|
"program": "make",
|
|
"args": ["build-unit", "${file}"],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "internalConsole"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Run zig unit test",
|
|
"program": "${workspaceFolder}/zig-out/bin/test",
|
|
"args": ["abc"],
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "internalConsole"
|
|
}
|
|
]
|
|
}
|