-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Support nodemon
development setup by adding support to automatically re-attach when node is restarted
#3238
Comments
In case it helps someone, chiming in that this support for nodemon works too with the (currently experimental) |
Just a small update @ronjouch for using the inspector protocol. Using node 6.10.2 and nodemon 1.11.0 with vscode 1.12.1, set
|
@ianfiske the |
Ah, thank you @weinand. If I remove only the |
Yes, if you set a If no |
This doesn't seem to be working still. Here's my launch.json: {
"type": "node",
"request": "attach",
"name": "Attach (Inspector Protocol)",
"port": 9229,
"protocol": "inspector"
} When I run |
@cvharris you are missing a |
Issue: #2103
Assignees:
Setting the new launch config attribute
restart
totrue
makes node-debug to automatically restart the session if the debug target has terminated. This is useful if you usenodemon
to restart node on file changes.Setup:
Test:
The text was updated successfully, but these errors were encountered: