mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
fix vscode json handling in prettier (#10133)
This commit is contained in:
@@ -5,6 +5,15 @@
|
|||||||
"useTabs": false,
|
"useTabs": false,
|
||||||
"quoteProps": "preserve",
|
"quoteProps": "preserve",
|
||||||
"overrides": [
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": [".vscode/*.json"],
|
||||||
|
"options": {
|
||||||
|
"parser": "jsonc",
|
||||||
|
"quoteProps": "preserve",
|
||||||
|
"singleQuote": false,
|
||||||
|
"trailingComma": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"files": ["*.md"],
|
"files": ["*.md"],
|
||||||
"options": {
|
"options": {
|
||||||
|
|||||||
24
.vscode/c_cpp_properties.json
vendored
24
.vscode/c_cpp_properties.json
vendored
@@ -17,7 +17,7 @@
|
|||||||
"${workspaceFolder}/src/deps",
|
"${workspaceFolder}/src/deps",
|
||||||
"${workspaceFolder}/src/napi/*",
|
"${workspaceFolder}/src/napi/*",
|
||||||
"${workspaceFolder}/packages/bun-usockets/src",
|
"${workspaceFolder}/packages/bun-usockets/src",
|
||||||
"${workspaceFolder}/packages/"
|
"${workspaceFolder}/packages/",
|
||||||
],
|
],
|
||||||
"browse": {
|
"browse": {
|
||||||
"path": [
|
"path": [
|
||||||
@@ -30,10 +30,10 @@
|
|||||||
"${workspaceFolder}/src/deps/boringssl/include/*",
|
"${workspaceFolder}/src/deps/boringssl/include/*",
|
||||||
"${workspaceFolder}/packages/bun-usockets/*",
|
"${workspaceFolder}/packages/bun-usockets/*",
|
||||||
"${workspaceFolder}/packages/bun-uws/*",
|
"${workspaceFolder}/packages/bun-uws/*",
|
||||||
"${workspaceFolder}/src/napi/*"
|
"${workspaceFolder}/src/napi/*",
|
||||||
],
|
],
|
||||||
"limitSymbolsToIncludedHeaders": true,
|
"limitSymbolsToIncludedHeaders": true,
|
||||||
"databaseFilename": ".vscode/cppdb"
|
"databaseFilename": ".vscode/cppdb",
|
||||||
},
|
},
|
||||||
"defines": [
|
"defines": [
|
||||||
"STATICALLY_LINKED_WITH_JavaScriptCore=1",
|
"STATICALLY_LINKED_WITH_JavaScriptCore=1",
|
||||||
@@ -44,12 +44,12 @@
|
|||||||
"BUILDING_JSCONLY__",
|
"BUILDING_JSCONLY__",
|
||||||
"USE_FOUNDATION=1",
|
"USE_FOUNDATION=1",
|
||||||
"ASSERT_ENABLED=1",
|
"ASSERT_ENABLED=1",
|
||||||
"DU_DISABLE_RENAMING=1"
|
"DU_DISABLE_RENAMING=1",
|
||||||
],
|
],
|
||||||
"macFrameworkPath": [],
|
"macFrameworkPath": [],
|
||||||
"compilerPath": "${workspaceFolder}/.vscode/clang++",
|
"compilerPath": "${workspaceFolder}/.vscode/clang++",
|
||||||
"cStandard": "c17",
|
"cStandard": "c17",
|
||||||
"cppStandard": "c++20"
|
"cppStandard": "c++20",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BunWithJSCDebug",
|
"name": "BunWithJSCDebug",
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
"${workspaceFolder}/src/deps",
|
"${workspaceFolder}/src/deps",
|
||||||
"${workspaceFolder}/src/napi/*",
|
"${workspaceFolder}/src/napi/*",
|
||||||
"${workspaceFolder}/packages/bun-usockets/src",
|
"${workspaceFolder}/packages/bun-usockets/src",
|
||||||
"${workspaceFolder}/packages/"
|
"${workspaceFolder}/packages/",
|
||||||
],
|
],
|
||||||
"browse": {
|
"browse": {
|
||||||
"path": [
|
"path": [
|
||||||
@@ -94,10 +94,10 @@
|
|||||||
"${workspaceFolder}/src/deps/boringssl/include/",
|
"${workspaceFolder}/src/deps/boringssl/include/",
|
||||||
"${workspaceFolder}/packages/bun-usockets/",
|
"${workspaceFolder}/packages/bun-usockets/",
|
||||||
"${workspaceFolder}/packages/bun-uws/",
|
"${workspaceFolder}/packages/bun-uws/",
|
||||||
"${workspaceFolder}/src/napi"
|
"${workspaceFolder}/src/napi",
|
||||||
],
|
],
|
||||||
"limitSymbolsToIncludedHeaders": true,
|
"limitSymbolsToIncludedHeaders": true,
|
||||||
"databaseFilename": ".vscode/cppdb_debug"
|
"databaseFilename": ".vscode/cppdb_debug",
|
||||||
},
|
},
|
||||||
"defines": [
|
"defines": [
|
||||||
"STATICALLY_LINKED_WITH_JavaScriptCore=1",
|
"STATICALLY_LINKED_WITH_JavaScriptCore=1",
|
||||||
@@ -108,13 +108,13 @@
|
|||||||
"BUILDING_JSCONLY__",
|
"BUILDING_JSCONLY__",
|
||||||
"USE_FOUNDATION=1",
|
"USE_FOUNDATION=1",
|
||||||
"ASSERT_ENABLED=1",
|
"ASSERT_ENABLED=1",
|
||||||
"DU_DISABLE_RENAMING=1"
|
"DU_DISABLE_RENAMING=1",
|
||||||
],
|
],
|
||||||
"macFrameworkPath": [],
|
"macFrameworkPath": [],
|
||||||
"compilerPath": "${workspaceFolder}/.vscode/clang++",
|
"compilerPath": "${workspaceFolder}/.vscode/clang++",
|
||||||
"cStandard": "c17",
|
"cStandard": "c17",
|
||||||
"cppStandard": "c++20"
|
"cppStandard": "c++20",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"version": 4
|
"version": 4,
|
||||||
}
|
}
|
||||||
|
|||||||
4
.vscode/extensions.json
vendored
4
.vscode/extensions.json
vendored
@@ -28,6 +28,6 @@
|
|||||||
"tamasfe.even-better-toml",
|
"tamasfe.even-better-toml",
|
||||||
|
|
||||||
// Other
|
// Other
|
||||||
"bierner.comment-tagged-templates"
|
"bierner.comment-tagged-templates",
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
392
.vscode/launch.json
generated
vendored
392
.vscode/launch.json
generated
vendored
@@ -18,9 +18,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -33,9 +33,9 @@
|
|||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "1",
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "1",
|
||||||
"BUN_DEBUG_FileReader": "1"
|
"BUN_DEBUG_FileReader": "1",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -47,9 +47,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "0"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "0",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -61,9 +61,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "0",
|
"BUN_DEBUG_QUIET_LOGS": "0",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -75,9 +75,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -89,9 +89,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -104,14 +104,14 @@
|
|||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
"BUN_INSPECT": "ws://localhost:0/?wait=1"
|
"BUN_INSPECT": "ws://localhost:0/?wait=1",
|
||||||
},
|
},
|
||||||
"console": "internalConsole",
|
"console": "internalConsole",
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -124,14 +124,14 @@
|
|||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
"BUN_INSPECT": "ws://localhost:0/?break=1"
|
"BUN_INSPECT": "ws://localhost:0/?break=1",
|
||||||
},
|
},
|
||||||
"console": "internalConsole",
|
"console": "internalConsole",
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// bun run [file]
|
// bun run [file]
|
||||||
{
|
{
|
||||||
@@ -144,9 +144,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "0",
|
"FORCE_COLOR": "0",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -158,9 +158,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "0"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "0",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -172,9 +172,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "0",
|
"BUN_DEBUG_QUIET_LOGS": "0",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -186,9 +186,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -200,9 +200,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -215,14 +215,14 @@
|
|||||||
"FORCE_COLOR": "0",
|
"FORCE_COLOR": "0",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
"BUN_INSPECT": "ws://localhost:0/?wait=1"
|
"BUN_INSPECT": "ws://localhost:0/?wait=1",
|
||||||
},
|
},
|
||||||
"console": "internalConsole",
|
"console": "internalConsole",
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -235,14 +235,14 @@
|
|||||||
"FORCE_COLOR": "0",
|
"FORCE_COLOR": "0",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
"BUN_INSPECT": "ws://localhost:0/?break=1"
|
"BUN_INSPECT": "ws://localhost:0/?break=1",
|
||||||
},
|
},
|
||||||
"console": "internalConsole",
|
"console": "internalConsole",
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// bun test [...]
|
// bun test [...]
|
||||||
{
|
{
|
||||||
@@ -255,9 +255,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -269,9 +269,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "0"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "0",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -283,9 +283,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "0",
|
"BUN_DEBUG_QUIET_LOGS": "0",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -297,9 +297,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -311,9 +311,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -326,14 +326,14 @@
|
|||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
"BUN_INSPECT": "ws://localhost:0/?wait=1"
|
"BUN_INSPECT": "ws://localhost:0/?wait=1",
|
||||||
},
|
},
|
||||||
"console": "internalConsole",
|
"console": "internalConsole",
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -346,14 +346,14 @@
|
|||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
"BUN_INSPECT": "ws://localhost:0/?break=1"
|
"BUN_INSPECT": "ws://localhost:0/?break=1",
|
||||||
},
|
},
|
||||||
"console": "internalConsole",
|
"console": "internalConsole",
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// bun exec [...]
|
// bun exec [...]
|
||||||
{
|
{
|
||||||
@@ -366,9 +366,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
// bun test [*]
|
// bun test [*]
|
||||||
{
|
{
|
||||||
@@ -381,9 +381,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -395,9 +395,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "0"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "0",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -410,14 +410,14 @@
|
|||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
"BUN_INSPECT": "ws://localhost:0/"
|
"BUN_INSPECT": "ws://localhost:0/",
|
||||||
},
|
},
|
||||||
"console": "internalConsole",
|
"console": "internalConsole",
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -429,9 +429,9 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"FORCE_COLOR": "1",
|
"FORCE_COLOR": "1",
|
||||||
"BUN_DEBUG_QUIET_LOGS": "1",
|
"BUN_DEBUG_QUIET_LOGS": "1",
|
||||||
"BUN_GARBAGE_COLLECTOR_LEVEL": "2"
|
"BUN_GARBAGE_COLLECTOR_LEVEL": "2",
|
||||||
},
|
},
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lldb",
|
"type": "lldb",
|
||||||
@@ -440,7 +440,7 @@
|
|||||||
"program": "node",
|
"program": "node",
|
||||||
"args": ["src/runner.node.mjs"],
|
"args": ["src/runner.node.mjs"],
|
||||||
"cwd": "${workspaceFolder}/packages/bun-internal-test",
|
"cwd": "${workspaceFolder}/packages/bun-internal-test",
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
},
|
},
|
||||||
// Windows: bun test [file]
|
// Windows: bun test [file]
|
||||||
{
|
{
|
||||||
@@ -453,22 +453,22 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_jest",
|
"name": "BUN_DEBUG_jest",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -480,33 +480,33 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_EventLoop",
|
"name": "BUN_DEBUG_EventLoop",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_uv",
|
"name": "BUN_DEBUG_uv",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_SYS",
|
"name": "BUN_DEBUG_SYS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_PipeWriter",
|
"name": "BUN_DEBUG_PipeWriter",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -518,17 +518,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "0"
|
"value": "0",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -540,17 +540,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "0"
|
"value": "0",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -562,26 +562,26 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_INSPECT",
|
"name": "BUN_INSPECT",
|
||||||
"value": "ws://localhost:0/?wait=1"
|
"value": "ws://localhost:0/?wait=1",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -593,26 +593,26 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_INSPECT",
|
"name": "BUN_INSPECT",
|
||||||
"value": "ws://localhost:0/?break=1"
|
"value": "ws://localhost:0/?break=1",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// Windows: bun run [file]
|
// Windows: bun run [file]
|
||||||
{
|
{
|
||||||
@@ -625,17 +625,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -647,14 +647,14 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "0"
|
"value": "0",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -666,17 +666,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "0"
|
"value": "0",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -688,26 +688,26 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_INSPECT",
|
"name": "BUN_INSPECT",
|
||||||
"value": "ws://localhost:0/?wait=1"
|
"value": "ws://localhost:0/?wait=1",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -719,26 +719,26 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_INSPECT",
|
"name": "BUN_INSPECT",
|
||||||
"value": "ws://localhost:0/?break=1"
|
"value": "ws://localhost:0/?break=1",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// Windows: bun test [...]
|
// Windows: bun test [...]
|
||||||
{
|
{
|
||||||
@@ -751,17 +751,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -773,17 +773,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "0"
|
"value": "0",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -795,17 +795,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "0"
|
"value": "0",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -817,17 +817,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -839,17 +839,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -861,26 +861,26 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_INSPECT",
|
"name": "BUN_INSPECT",
|
||||||
"value": "ws://localhost:0/?wait=1"
|
"value": "ws://localhost:0/?wait=1",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -892,26 +892,26 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_INSPECT",
|
"name": "BUN_INSPECT",
|
||||||
"value": "ws://localhost:0/?break=1"
|
"value": "ws://localhost:0/?break=1",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// Windows: bun exec [...]
|
// Windows: bun exec [...]
|
||||||
{
|
{
|
||||||
@@ -924,17 +924,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
// Windows: bun test [*]
|
// Windows: bun test [*]
|
||||||
{
|
{
|
||||||
@@ -947,17 +947,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -969,17 +969,17 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "0"
|
"value": "0",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -991,26 +991,26 @@
|
|||||||
"environment": [
|
"environment": [
|
||||||
{
|
{
|
||||||
"name": "FORCE_COLOR",
|
"name": "FORCE_COLOR",
|
||||||
"value": "1"
|
"value": "1",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_DEBUG_QUIET_LOGS",
|
"name": "BUN_DEBUG_QUIET_LOGS",
|
||||||
"value": "0"
|
"value": "0",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
"name": "BUN_GARBAGE_COLLECTOR_LEVEL",
|
||||||
"value": "2"
|
"value": "2",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BUN_INSPECT",
|
"name": "BUN_INSPECT",
|
||||||
"value": "ws://localhost:0/"
|
"value": "ws://localhost:0/",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
"pattern": "https://debug.bun.sh/#localhost:([0-9]+)/",
|
||||||
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
"uriFormat": "https://debug.bun.sh/#ws://localhost:%s/",
|
||||||
"action": "openExternally"
|
"action": "openExternally",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "cppvsdbg",
|
"type": "cppvsdbg",
|
||||||
@@ -1019,19 +1019,19 @@
|
|||||||
"program": "node",
|
"program": "node",
|
||||||
"args": ["src/runner.node.mjs"],
|
"args": ["src/runner.node.mjs"],
|
||||||
"cwd": "${workspaceFolder}/packages/bun-internal-test",
|
"cwd": "${workspaceFolder}/packages/bun-internal-test",
|
||||||
"console": "internalConsole"
|
"console": "internalConsole",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
"id": "commandLine",
|
"id": "commandLine",
|
||||||
"type": "promptString",
|
"type": "promptString",
|
||||||
"description": "Usage: bun [...]"
|
"description": "Usage: bun [...]",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "testName",
|
"id": "testName",
|
||||||
"type": "promptString",
|
"type": "promptString",
|
||||||
"description": "Usage: bun test [...]"
|
"description": "Usage: bun test [...]",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
40
.vscode/settings.json
vendored
40
.vscode/settings.json
vendored
@@ -13,7 +13,7 @@
|
|||||||
"node_modules": true,
|
"node_modules": true,
|
||||||
".git": true,
|
".git": true,
|
||||||
"src/bun.js/WebKit": true,
|
"src/bun.js/WebKit": true,
|
||||||
"src/deps/*/**": true
|
"src/deps/*/**": true,
|
||||||
},
|
},
|
||||||
"search.followSymlinks": false,
|
"search.followSymlinks": false,
|
||||||
"search.useIgnoreFiles": true,
|
"search.useIgnoreFiles": true,
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
"[zig]": {
|
"[zig]": {
|
||||||
"editor.tabSize": 4,
|
"editor.tabSize": 4,
|
||||||
"editor.useTabStops": false,
|
"editor.useTabStops": false,
|
||||||
"editor.defaultFormatter": "ziglang.vscode-zig"
|
"editor.defaultFormatter": "ziglang.vscode-zig",
|
||||||
},
|
},
|
||||||
|
|
||||||
// C++
|
// C++
|
||||||
@@ -42,41 +42,41 @@
|
|||||||
"cmake.configureOnOpen": false,
|
"cmake.configureOnOpen": false,
|
||||||
"C_Cpp.errorSquiggles": "enabled",
|
"C_Cpp.errorSquiggles": "enabled",
|
||||||
"[cpp]": {
|
"[cpp]": {
|
||||||
"editor.defaultFormatter": "xaver.clang-format"
|
"editor.defaultFormatter": "xaver.clang-format",
|
||||||
},
|
},
|
||||||
"[c]": {
|
"[c]": {
|
||||||
"editor.defaultFormatter": "xaver.clang-format"
|
"editor.defaultFormatter": "xaver.clang-format",
|
||||||
},
|
},
|
||||||
"[h]": {
|
"[h]": {
|
||||||
"editor.defaultFormatter": "xaver.clang-format"
|
"editor.defaultFormatter": "xaver.clang-format",
|
||||||
},
|
},
|
||||||
|
|
||||||
// JavaScript
|
// JavaScript
|
||||||
"prettier.enable": true,
|
"prettier.enable": true,
|
||||||
"prettier.configPath": "${workspaceFolder}/.prettierrc",
|
"prettier.configPath": ".prettierrc",
|
||||||
"eslint.workingDirectories": ["${workspaceFolder}/packages/bun-types"],
|
"eslint.workingDirectories": ["${workspaceFolder}/packages/bun-types"],
|
||||||
"[javascript]": {
|
"[javascript]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
},
|
},
|
||||||
"[javascriptreact]": {
|
"[javascriptreact]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
},
|
},
|
||||||
|
|
||||||
// TypeScript
|
// TypeScript
|
||||||
"typescript.tsdk": "${workspaceFolder}/node_modules/typescript/lib",
|
"typescript.tsdk": "${workspaceFolder}/node_modules/typescript/lib",
|
||||||
"[typescript]": {
|
"[typescript]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
},
|
},
|
||||||
"[typescriptreact]": {
|
"[typescriptreact]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
},
|
},
|
||||||
|
|
||||||
// JSON
|
// JSON
|
||||||
"[json]": {
|
"[json]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
},
|
},
|
||||||
"[jsonc]": {
|
"[jsonc]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
},
|
},
|
||||||
|
|
||||||
// Markdown
|
// Markdown
|
||||||
@@ -89,23 +89,23 @@
|
|||||||
"editor.quickSuggestions": {
|
"editor.quickSuggestions": {
|
||||||
"comments": "off",
|
"comments": "off",
|
||||||
"strings": "off",
|
"strings": "off",
|
||||||
"other": "off"
|
"other": "off",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// TOML
|
// TOML
|
||||||
"[toml]": {
|
"[toml]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
},
|
},
|
||||||
|
|
||||||
// YAML
|
// YAML
|
||||||
"[yaml]": {
|
"[yaml]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
},
|
},
|
||||||
|
|
||||||
// Docker
|
// Docker
|
||||||
"[dockerfile]": {
|
"[dockerfile]": {
|
||||||
"editor.formatOnSave": false
|
"editor.formatOnSave": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
// Files
|
// Files
|
||||||
@@ -122,7 +122,7 @@
|
|||||||
"**/*.i": true,
|
"**/*.i": true,
|
||||||
},
|
},
|
||||||
"files.associations": {
|
"files.associations": {
|
||||||
"*.idl": "cpp"
|
"*.idl": "cpp",
|
||||||
},
|
},
|
||||||
"C_Cpp.files.exclude": {
|
"C_Cpp.files.exclude": {
|
||||||
"**/.vscode": true,
|
"**/.vscode": true,
|
||||||
@@ -140,6 +140,6 @@
|
|||||||
"WebKit/WebCore": true,
|
"WebKit/WebCore": true,
|
||||||
"WebKit/WebDriver": true,
|
"WebKit/WebDriver": true,
|
||||||
"WebKit/WebKitBuild": true,
|
"WebKit/WebKitBuild": true,
|
||||||
"WebKit/WebInspectorUI": true
|
"WebKit/WebInspectorUI": true,
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
18
.vscode/tasks.json
vendored
18
.vscode/tasks.json
vendored
@@ -6,13 +6,13 @@
|
|||||||
"label": "Install Dependencies",
|
"label": "Install Dependencies",
|
||||||
"command": "scripts/all-dependencies.sh",
|
"command": "scripts/all-dependencies.sh",
|
||||||
"windows": {
|
"windows": {
|
||||||
"command": "scripts/all-dependencies.ps1"
|
"command": "scripts/all-dependencies.ps1",
|
||||||
},
|
},
|
||||||
"icon": {
|
"icon": {
|
||||||
"id": "arrow-down"
|
"id": "arrow-down",
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}"
|
"cwd": "${workspaceFolder}",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -21,13 +21,13 @@
|
|||||||
"dependsOn": ["Install Dependencies"],
|
"dependsOn": ["Install Dependencies"],
|
||||||
"command": "scripts/setup.sh",
|
"command": "scripts/setup.sh",
|
||||||
"windows": {
|
"windows": {
|
||||||
"command": "scripts/setup.ps1"
|
"command": "scripts/setup.ps1",
|
||||||
},
|
},
|
||||||
"icon": {
|
"icon": {
|
||||||
"id": "check"
|
"id": "check",
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}"
|
"cwd": "${workspaceFolder}",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -37,10 +37,10 @@
|
|||||||
"command": "bun",
|
"command": "bun",
|
||||||
"args": ["run", "build"],
|
"args": ["run", "build"],
|
||||||
"icon": {
|
"icon": {
|
||||||
"id": "gear"
|
"id": "gear",
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}"
|
"cwd": "${workspaceFolder}",
|
||||||
},
|
},
|
||||||
"isBuildCommand": true,
|
"isBuildCommand": true,
|
||||||
"runOptions": {
|
"runOptions": {
|
||||||
@@ -48,5 +48,5 @@
|
|||||||
"reevaluateOnRerun": true,
|
"reevaluateOnRerun": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user