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

Issue with --inspect and chrome://inspect #1557

Closed
LazerJesus opened this issue Apr 23, 2019 · 1 comment
Closed

Issue with --inspect and chrome://inspect #1557

LazerJesus opened this issue Apr 23, 2019 · 1 comment
Labels
stale no activity for 2 weeks

Comments

@LazerJesus
Copy link

nodemon -v 1.18.11
node -v v10.14.1
os Linux Ubuntu 18.04
chromium-browser --version Chromium 73.0.3683.86 Built on Ubuntu , running on Ubuntu 18.04
shell bash

Steps to reproduce

I run this command:
"start:inspect": "nodemon --inspect src/index.js",

Expected behaviour

I want to attach to the debugger with my chrome://inspect tools. It works perfectly until I reload the server.

Actual behaviour

every time i reload the server, i have to re-attach to the chrome debugger.
as you can see in the logs. a new endpoint is generated every time I save:

yarn run start:inspect
yarn run v1.13.0
$ nodemon --inspect src/index.js
[nodemon] 1.18.10
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node --inspect src/index.js`
Debugger listening on ws://127.0.0.1:9229/135cd87c-7d2a-40e4-820d-d8eb6454f8d1
Debugger attached.
[nodemon] restarting due to changes...
[nodemon] starting `node --inspect src/index.js`
Debugger listening on ws://127.0.0.1:9229/80ad900f-ce18-49ca-b247-59651d7c3889
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
[nodemon] restarting due to changes...
[nodemon] starting `node --inspect src/index.js`
Debugger listening on ws://127.0.0.1:9229/3b8cff99-b5b9-42f0-9ec2-30c5caabf3b7
For help, see: https://nodejs.org/en/docs/inspector
[nodemon] restarting due to changes...
[nodemon] starting `node --inspect src/index.js`
Debugger listening on ws://127.0.0.1:9229/21de7391-b728-44c6-ae2e-68c211c3fe24
For help, see: https://nodejs.org/en/docs/inspector
[nodemon] restarting child process
interrupt
@stale
Copy link

stale bot commented May 7, 2019

This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up.
Thank you for contributing <3

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

No branches or pull requests

1 participant