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
@@ -389,6 +389,13 @@ default) is not firewall-protected.**
389
389
390
390
See the [debugging security implications][] section for more information.
391
391
392
+
### `--inspect-publish-uid=stderr,http`
393
+
394
+
Specify ways of the inspector web socket url exposure.
395
+
396
+
By default inspector websocket url is available in stderr and under `/json/list`
397
+
endpoint on `http://host:port/json/list`.
398
+
392
399
### `--loader=file`
393
400
<!-- YAML
394
401
added: v9.0.0
@@ -980,6 +987,7 @@ Node.js options that are allowed are:
0 commit comments