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

How to turn off debugging? #15480

Closed
changsi-an opened this issue Sep 19, 2017 · 1 comment
Closed

How to turn off debugging? #15480

changsi-an opened this issue Sep 19, 2017 · 1 comment
Labels
inspector Issues and PRs related to the V8 inspector protocol question Issues that look for answers.

Comments

@changsi-an
Copy link

v8.1.4

Hello,

On this page debugging-getting-started

it is mentioned that:

can also be instructed to start listening for debugging messages by signaling it with SIGUSR1 (on Linux and OS X). As of Node 7 this activates the legacy Debugger API; in Node 8 and later it will activate the Inspector API.

How to do the opposite please? That is, to disable the debugging port and the inspector protocol?

Our intention is to revert back to the previous state before the debugging is enabled after a temporary debugging session, so we don't have to worry about any performance impacts due to the debugging being enabled.

@mscdex mscdex added inspector Issues and PRs related to the V8 inspector protocol question Issues that look for answers. labels Sep 19, 2017
@refack
Copy link
Contributor

refack commented Sep 20, 2017

Hello @changsi-an,
This is an issue more suited for nodejs/help which is the usage and help repo.
But anyway the best way to close the inspector is with insector.close.

I'm closing this issue, but feel free to reopen or comment if you find a problem in node core, or are missing functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inspector Issues and PRs related to the V8 inspector protocol question Issues that look for answers.
Projects
None yet
Development

No branches or pull requests

3 participants