Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I attach a debugger to a process running in vinxi? #302

Open
laptou opened this issue May 30, 2024 · 1 comment
Open

How do I attach a debugger to a process running in vinxi? #302

laptou opened this issue May 30, 2024 · 1 comment

Comments

@laptou
Copy link

laptou commented May 30, 2024

I'm using Bun as my runtime for a SolidStart project.

I tried bun --inspect dev and bun --inspect-brk dev. That didn't work, vinxi just ran as normal.
I thought maybe it was an issue with Bun, so I switched to using Node. I tried npm run --inspect dev and npm run --inspect-brk dev. This also didn't work.

I tried running npm run dev inside of VSCode's JavaScript Debugger terminal. That didn't work either.

@Gkjsdll
Copy link

Gkjsdll commented Jun 16, 2024

node --inspect-brk .\node_modules\vinxi\bin\cli.mjs dev seems to work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants