about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-06-20 18:56:50 -0400
committerelioat <elioat@tilde.institute>2024-06-20 18:56:50 -0400
commitceab2c83caf3d25c42290453bac15dfcce218874 (patch)
tree8b5b2d72d9321ed15d1da34accc34ab0254c65f2
parent9c96e8380f4206c318e5d277cad11909fc7868cc (diff)
downloadtour-ceab2c83caf3d25c42290453bac15dfcce218874.tar.gz
*
-rw-r--r--ts/bun/vscode/launch.json52
1 files changed, 52 insertions, 0 deletions
diff --git a/ts/bun/vscode/launch.json b/ts/bun/vscode/launch.json
new file mode 100644
index 0000000..0da0ab6
--- /dev/null
+++ b/ts/bun/vscode/launch.json
@@ -0,0 +1,52 @@
+{
+    "version": "0.2.0",
+    "configurations": [
+      {
+        "type": "bun",
+        "request": "launch",
+        "name": "Debug Bun",
+  
+        // The path to a JavaScript or TypeScript file to run.
+        "program": "${file}",
+  
+        // The arguments to pass to the program, if any.
+        "args": [],
+  
+        // The working directory of the program.
+        "cwd": "${workspaceFolder}",
+  
+        // The environment variables to pass to the program.
+        "env": {},
+  
+        // If the environment variables should not be inherited from the parent process.
+        "strictEnv": false,
+  
+        // If the program should be run in watch mode.
+        // This is equivalent to passing `--watch` to the `bun` executable.
+        // You can also set this to "hot" to enable hot reloading using `--hot`.
+        "watchMode": false,
+  
+        // If the debugger should stop on the first line of the program.
+        "stopOnEntry": false,
+  
+        // If the debugger should be disabled. (for example, breakpoints will not be hit)
+        "noDebug": false,
+  
+        // The path to the `bun` executable, defaults to your `PATH` environment variable.
+        "runtime": "bun",
+  
+        // The arguments to pass to the `bun` executable, if any.
+        // Unlike `args`, these are passed to the executable itself, not the program.
+        "runtimeArgs": [],
+      },
+      {
+        "type": "bun",
+        "request": "attach",
+        "name": "Attach to Bun",
+  
+        // The URL of the WebSocket inspector to attach to.
+        // This value can be retrieved by using `bun --inspect`.
+        "url": "ws://localhost:6499/",
+      }
+    ]
+  }
\ No newline at end of file