diff options
author | Ali Ijaz Sheikh <ofrobots@google.com> | 2017-03-15 00:20:38 +0300 |
---|---|---|
committer | Ali Ijaz Sheikh <ofrobots@google.com> | 2017-04-12 03:58:26 +0300 |
commit | a235ccd1685b96089ca2e8c175bb39e1ef59afbd (patch) | |
tree | d89e09a255fb17abf9da1ea6fe7b7b6fbdef63e5 /src/inspector_socket_server.cc | |
parent | b7608ac7077f95837c3b9eefdfd04c45b66179fa (diff) |
src,test: debug is now an alias for inspect
`node debug` is now an alias of `node inspect`. This is intended to be
a minimal change – it does not get rid of the the debugger code. That
can be done in a follow-on.
PR-URL: https://github.com/nodejs/node/pull/11441
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: joshgav - Josh Gavant <josh.gavant@outlook.com>
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
Diffstat (limited to 'src/inspector_socket_server.cc')
-rw-r--r-- | src/inspector_socket_server.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspector_socket_server.cc b/src/inspector_socket_server.cc index 1c8fa70b65a..07efed4972a 100644 --- a/src/inspector_socket_server.cc +++ b/src/inspector_socket_server.cc @@ -82,10 +82,10 @@ void PrintDebuggerReadyMessage(const std::string& host, return; } fprintf(out, - "Debugger listening on port %d.\n" + "Debugger listening on %s:%d.\n" "Warning: This is an experimental feature " "and could change at any time.\n", - port); + host.c_str(), port); if (ids.size() == 1) fprintf(out, "To start debugging, open the following URL in Chrome:\n"); if (ids.size() > 1) |