DenoDDeno
Powered by
cbhscarterC
Denoβ€’7mo agoβ€’
3 replies
cbhscarter

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>/**"]
    }
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

deno+vite+tailwind
moochMmooch / help
12mo ago
Deno + Vite + DenoKV
AndiAAndi / help
2y ago