Skip to content

Commit

Permalink
change vscode debugger config to use bun
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeistrich committed Jan 1, 2025
1 parent b75c59d commit 610b86d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"oven.bun-vscode"
]
}
22 changes: 13 additions & 9 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,20 @@
"version": "0.2.0",
"configurations": [
{
"type": "node",
"type": "bun",
"request": "launch",
"name": "Jest Tests",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"args": [
"--watch",
"-i",
],
"cwd": "${workspaceFolder}/src",
"console": "integratedTerminal"
"name": "Bun Tests",
"program": "test",
"cwd": "${workspaceFolder}",
"watchMode": true
},
{
"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/",
},
]
}

0 comments on commit 610b86d

Please sign in to comment.