Title: debugger: add --help to `node inspect` and improve docs by joyeecheung · Pull Request #63201 · nodejs/node · GitHub
Open Graph Title: debugger: add --help to `node inspect` and improve docs by joyeecheung · Pull Request #63201 · nodejs/node
X Title: debugger: add --help to `node inspect` and improve docs by joyeecheung · Pull Request #63201 · nodejs/node
Description: Add --help / -h to node inspect covering both interactive and non-interactive probe modes. The help text is printed when --help/-h appears before any positional argument to avoid hijacking --help passed to a child script. Improve the documentation of probe mode and add examples, explain same-location probe coalescing, TDZ caveat for let/const bindings, basename matching and exit code behavior. Also move it to a section parallel to interactive mode. Remove recommendation of evaluating structured expressions as that is prone to missing info in JSON mode. Drive-by: when probe mode exits due to invalid arguments, exit with kInvalidCommandLineArgument (9) instead of kGenericUserError (1).
Open Graph Description: Add --help / -h to node inspect covering both interactive and non-interactive probe modes. The help text is printed when --help/-h appears before any positional argument to avoid hijacking --help p...
X Description: Add --help / -h to node inspect covering both interactive and non-interactive probe modes. The help text is printed when --help/-h appears before any positional argument to avoid hijacking --help p...
Opengraph URL: https://github.com/nodejs/node/pull/63201
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:46b68590-064a-bd0d-c5e0-cf1d049e8ba3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A2A8:1929FC:1D78CD6:29A1B8D:6A4CCC79 |
| html-safe-nonce | f3368a280b30a5169f4909684db6afff44621dac6bb2d731ef9feada0fef2c34 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkE4OjE5MjlGQzoxRDc4Q0Q2OjI5QTFCOEQ6NkE0Q0NDNzkiLCJ2aXNpdG9yX2lkIjoiOTIyMjI2MjQ5ODI2MTc4MTYyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 82c2daed84e7aaaf5c7595386f62bdda95244e56cdb1a01019acd7629ac4ed63 |
| hovercard-subject-tag | pull_request:3650451052 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodejs/node/pull/63201/files |
| twitter:image | https://avatars.githubusercontent.com/u/4299420?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4299420?s=400&v=4 |
| og:image:alt | Add --help / -h to node inspect covering both interactive and non-interactive probe modes. The help text is printed when --help/-h appears before any positional argument to avoid hijacking --help p... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ee8a9d18044a05fe2d57b9ae797da38c8be34effb03f015f7c42e94770d28a1b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f84814acc6f036583fd43463f5847a846243d2a4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width