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

Allow to pass host und port arguments for --inspect for nuxi dev #403

Open
cheindl opened this issue Apr 30, 2024 · 1 comment
Open

Allow to pass host und port arguments for --inspect for nuxi dev #403

cheindl opened this issue Apr 30, 2024 · 1 comment

Comments

@cheindl
Copy link

cheindl commented Apr 30, 2024

Hello everybody,

as we are developing most of the times within docker containers, we are often not able to debug nuxt process correctly. When running nuxi dev --inspect the debugging port is opened, but on localhost:9229 which cannot be exposed in a container environment.

Thus it would be very helpful, to allow to pass host and port for the --inspect argument, e.g. the following:

nuxi dev --inspect=0.0.0.0.1234

The --inspect=0.0.0.0:1234 should be properly passed as to the node process.

@filiphazardous
Copy link

I agree. There's a blog post about this use-case here:
https://www.liip.ch/en/blog/nuxt3-node-debugging

(Would a patch be welcome?)

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