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

move --inspect flag to env #249

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

move --inspect flag to env #249

wants to merge 1 commit into from

Conversation

qwabra
Copy link

@qwabra qwabra commented Dec 22, 2019

first

$ ./node_modules/.bin/next dev --inspect

Error: Use env variable NODE_OPTIONS instead: NODE_OPTIONS="--inspect" next dev

second

"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/next", - path to "nextjs" in dependencies (locally for project)
"runtimeExecutable": "next", - if nextjs is installed globally

## first

`$ ./node_modules/.bin/next dev --inspect`
> Error: Use env variable NODE_OPTIONS instead: NODE_OPTIONS="--inspect" next dev

## second

`"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/next",` - path to "nextjs" in dependencies (locally for project)  
`"runtimeExecutable": "next",` - if nextjs is installed globally
@qwabra
Copy link
Author

qwabra commented Feb 11, 2020

#210

Base automatically changed from master to main March 9, 2021 08:08
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

Successfully merging this pull request may close these issues.

2 participants