cbhscarter
cbhscarter2w ago

Deno + Vite + VS Code

I'm attempting to debug an error that is happening with my configuration. Right now I'm looking to use Deno as the package manager, linter, and then Vite as the bundler / tester. However, I can't seem to get the debug session working to troubleshoot the error.
I'm using the default extension generated command, but its hanging when trying to start the Vite application. It looks like its starting, but doesn't hit any breakpoints.
{
"request": "launch",
"name": "Debug",
"type": "node",
"cwd": "${workspaceFolder}",
"env": {},
"runtimeExecutable": "deno",
"runtimeArgs": ["run", "--inspect-brk", "--allow-all", "npm:vite"],
"attachSimplePort": 9229,
"skipFiles": ["<node_internals>/**"]
}
{
"request": "launch",
"name": "Debug",
"type": "node",
"cwd": "${workspaceFolder}",
"env": {},
"runtimeExecutable": "deno",
"runtimeArgs": ["run", "--inspect-brk", "--allow-all", "npm:vite"],
"attachSimplePort": 9229,
"skipFiles": ["<node_internals>/**"]
}
1 Reply
cbhscarter
cbhscarterOP2d ago
I was looking into this more and at this point its triggering the application just fine, the .map files are generated, but the browser doesn't seem to be looking for them at all.

Did you find this page helpful?