Skip to content

Conversation

@mark-davenport-fountain
Copy link

What?

This allows debugging sessions from a remote host such as a docker container. For example in package.json:

"debug": "NODE_OPTIONS='--inspect=0.0.0.0:5433' next dev",

This follows the inspect options as they are specified by NodeJs - https://nodejs.org/api/cli.html#--inspecthostport

Fixes:

Why?

If you're using docker containers for development, it's impossible to attach a debugger, and this more closely follows the spec outlined by NodeJS

@aryamantest
Copy link

awesome😃

test

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants