Recently, I delved into using Bun to execute typescript files without the need for compiling them to js. So far, my experience has been smooth sailing. However, when it came time for runtime debugging, I hit a roadblock as I couldn't find any information in the documentation.
I'm wondering how I can set up my .vscode/launch.json
file to debug a project utilizing bun?
I attempted to tinker with a configuration, but progress was minimal:
{
"version": "0.2.0",
"configurations": [
{
"name": "Bun",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "bun",
"runtimeArgs": ["run"]
}
]
}
Scanning through the official roadmap, there seems to be no mention of debugging. Could it possibly be an experimental feature at this juncture?