mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
inspector: print warning when used
This is done to note that this is an experimental feature. PR-URL: https://github.com/nodejs/node/pull/7383 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
@@ -36,6 +36,7 @@ const char DEVTOOLS_HASH[] = "521e5b7e2b7cc66b4006a8a54cb9c4e57494a5ef";
|
||||
|
||||
void PrintDebuggerReadyMessage(int port) {
|
||||
fprintf(stderr, "Debugger listening on port %d.\n"
|
||||
"Warning: This is an experimental feature and could change at any time.\n"
|
||||
"To start debugging, open the following URL in Chrome:\n"
|
||||
" chrome-devtools://devtools/remote/serve_file/"
|
||||
"@%s/inspector.html?"
|
||||
|
||||
Reference in New Issue
Block a user