You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This flag specifies how inspector websocket url should be reported.
Tthre options are supported:
- stderr - reports websocket as a message to stderr,
- http - exposes /json/list endpoint that contains inspector websocket
url,
- binding - require('inspector').url().
Related discussion: nodejs/diagnostics#303
PR-URL: #27741
Reviewed-By: Eugene Ostroukhov <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Copy file name to clipboardExpand all lines: doc/api/cli.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -400,6 +400,13 @@ default) is not firewall-protected.**
400
400
401
401
See the [debugging security implications][] section for more information.
402
402
403
+
### `--inspect-publish-uid=stderr,http`
404
+
405
+
Specify ways of the inspector web socket url exposure.
406
+
407
+
By default inspector websocket url is available in stderr and under `/json/list`
408
+
endpoint on `http://host:port/json/list`.
409
+
403
410
### `--loader=file`
404
411
<!-- YAML
405
412
added: v9.0.0
@@ -992,6 +999,7 @@ Node.js options that are allowed are:
0 commit comments