From 6f016e7934a2cf2e29cdb239a155330bb34076d0 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Tue, 17 Apr 2018 20:04:03 +0300 Subject: [PATCH 1/2] doc: update links and names for DevTools Protocol --- doc/api/cli.md | 4 ++-- doc/api/debugger.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 25402f5f74ed06..7c06056fad4368 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -128,7 +128,7 @@ Activate inspector on host:port. Default is 127.0.0.1:9229. V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug and profile Node.js instances. The tools attach to Node.js instances via a -tcp port and communicate using the [Chrome Debugging Protocol][]. +tcp port and communicate using the [Chrome DevTools Protocol][]. ### `--napi-modules` @@ -678,7 +678,7 @@ greater than `4` (its current default value). For more information, see the [`Buffer`]: buffer.html#buffer_class_buffer [`SlowBuffer`]: buffer.html#buffer_class_slowbuffer [`process.setUncaughtExceptionCaptureCallback()`]: process.html#process_process_setuncaughtexceptioncapturecallback_fn -[Chrome Debugging Protocol]: https://chromedevtools.github.io/debugger-protocol-viewer +[Chrome DevTools Protocol]: https://chromedevtools.github.io/devtools-protocol/ [REPL]: repl.html [debugger]: debugger.html [emit_warning]: process.html#process_process_emitwarning_warning_type_code_ctor diff --git a/doc/api/debugger.md b/doc/api/debugger.md index 84e0ac207f222f..51e6d982832573 100644 --- a/doc/api/debugger.md +++ b/doc/api/debugger.md @@ -174,7 +174,7 @@ breakpoint) V8 Inspector integration allows attaching Chrome DevTools to Node.js instances for debugging and profiling. It uses the -[Chrome Debugging Protocol][]. +[Chrome DevTools Protocol][]. V8 Inspector can be enabled by passing the `--inspect` flag when starting a Node.js application. It is also possible to supply a custom port with that flag, @@ -194,5 +194,5 @@ To start debugging, open the following URL in Chrome: at the end of the URL is generated on the fly, it varies in different debugging sessions.) -[Chrome Debugging Protocol]: https://chromedevtools.github.io/debugger-protocol-viewer/ +[Chrome DevTools Protocol]: https://chromedevtools.github.io/devtools-protocol/ [V8 Inspector]: #debugger_v8_inspector_integration_for_node_js From b215dc68213f56a2847ff6b3196951e42e340af8 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Tue, 17 Apr 2018 20:35:17 +0300 Subject: [PATCH 2/2] fixup: update node.1 --- doc/node.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/node.1 b/doc/node.1 index e1b0bf03265ed9..710487cb864fc8 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -114,7 +114,7 @@ Default is .Sy 127.0.0.1:9229 . .Pp V8 Inspector integration allows attaching Chrome DevTools and IDEs to Node.js instances for debugging and profiling. -It uses the Chrome Debugging Protocol. +It uses the Chrome DevTools Protocol. . .It Fl -napi-modules Enable loading native modules compiled with the ABI-stable Node.js API (N-API)