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

Documents about difference of inspect or --inspect and it's arguments #19066

Closed
AvailCat opened this issue Mar 1, 2018 · 2 comments
Closed
Labels
doc Issues and PRs related to the documentations. good first issue Issues that are suitable for first-time contributors. inspector Issues and PRs related to the V8 inspector protocol

Comments

@AvailCat
Copy link

AvailCat commented Mar 1, 2018

  • Version: 9.6.1
  • Platform: Debian 9 and Windows 10
  • Subsystem: inspector

Example:
node inspect my-script will listen a port and start debugger cli
node --inspect my-script will only listen a port
node inspect --port=1234 my-script will able to enter debugger cli with custom port No Document

I did not found any document about how to enter debugger cli with custom port

node --inspect=1234 my-script will only listen on custom port


It's a bit confuse for user, it looks like one command, but in face they have different behavior

@richardlau richardlau added doc Issues and PRs related to the documentations. inspector Issues and PRs related to the V8 inspector protocol labels Mar 1, 2018
@richardlau
Copy link
Member

Pull request welcome.

@richardlau richardlau added the good first issue Issues that are suitable for first-time contributors. label Mar 1, 2018
@moar55
Copy link

moar55 commented Mar 1, 2018

The problem is inspect in node inspect <script> is not an "option" so it can't be put under the "options" subheading but it's rather a parameter. So maybe there should be a parameters subheading under it debug and inspect parameters?

alexdunne added a commit to alexdunne/nodejs.org that referenced this issue Mar 3, 2018
Resolves nodejs/node#19066

I'm not sure what the convention is for a possible input so I've used `xxxx` for now. Let me know if there's a standardised way of displaying this.
lpinca pushed a commit to nodejs/nodejs.org that referenced this issue Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. good first issue Issues that are suitable for first-time contributors. inspector Issues and PRs related to the V8 inspector protocol
Projects
None yet
Development

No branches or pull requests

3 participants