Skip to content

Commit c706bf0

Browse files
authored
Fix debugging page hydration (#6743)
fix: Move links from headings Signed-off-by: abizek <[email protected]>
1 parent cc2318e commit c706bf0

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

pages/en/learn/getting-started/debugging.md

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,46 +69,56 @@ either the IP address or by using ssh tunnels as described below.
6969
A minimal CLI debugger is available with `node inspect myscript.js`.
7070
Several commercial and open source tools can also connect to the Node.js Inspector.
7171

72-
### [Chrome DevTools](https://github.com/ChromeDevTools/devtools-frontend) 55+, [Microsoft Edge](https://www.microsoftedgeinsider.com)
72+
### Chrome DevTools 55+, Microsoft Edge
7373

7474
- **Option 1**: Open `chrome://inspect` in a Chromium-based
7575
browser or `edge://inspect` in Edge. Click the Configure button and ensure your target host and port
7676
are listed.
7777
- **Option 2**: Copy the `devtoolsFrontendUrl` from the output of `/json/list`
7878
(see above) or the --inspect hint text and paste into Chrome.
7979

80+
See https://github.com/ChromeDevTools/devtools-frontend, https://www.microsoftedgeinsider.com for more information.
81+
8082
> Note that the Node.js and the Chrome need to be run on the same platform.
8183
82-
### [Visual Studio Code](https://github.com/microsoft/vscode) 1.10+
84+
### Visual Studio Code 1.10+
8385

8486
- In the Debug panel, click the settings icon to open `.vscode/launch.json`.
8587
Select "Node.js" for initial setup.
8688

87-
### [Visual Studio](https://github.com/Microsoft/nodejstools) 2017+
89+
See https://github.com/microsoft/vscode for more information.
90+
91+
### Visual Studio 2017+
8892

8993
- Choose "Debug > Start Debugging" from the menu or hit F5.
9094
- [Detailed instructions](https://github.com/Microsoft/nodejstools/wiki/Debugging).
9195

92-
### [JetBrains WebStorm](https://www.jetbrains.com/webstorm/) and other JetBrains IDEs
96+
### JetBrains WebStorm and other JetBrains IDEs
9397

9498
- Create a new Node.js debug configuration and hit Debug. `--inspect` will be used
9599
by default for Node.js 7+. To disable uncheck `js.debugger.node.use.inspect` in
96100
the IDE Registry. To learn more about running and debugging Node.js in WebStorm and other JetBrains IDEs,
97101
check out [WebStorm online help](https://www.jetbrains.com/help/webstorm/running-and-debugging-node-js.html).
98102

99-
### [chrome-remote-interface](https://github.com/cyrus-and/chrome-remote-interface)
103+
### chrome-remote-interface
100104

101105
- Library to ease connections to [Inspector Protocol][] endpoints.
102106

103-
### [Gitpod](https://www.gitpod.io)
107+
See https://github.com/cyrus-and/chrome-remote-interface for more information.
108+
109+
### Gitpod
104110

105111
- Start a Node.js debug configuration from the `Debug` view or hit `F5`. [Detailed instructions](https://medium.com/gitpod/debugging-node-js-applications-in-theia-76c94c76f0a1)
106112

107-
### [Eclipse IDE](https://eclipse.org/eclipseide) with Eclipse Wild Web Developer extension
113+
See https://www.gitpod.io for more information.
114+
115+
### Eclipse IDE with Eclipse Wild Web Developer extension
108116

109117
- From a .js file, choose "Debug As... > Node program", or
110118
- Create a Debug Configuration to attach debugger to running Node.js application (already started with `--inspect`).
111119

120+
See https://eclipse.org/eclipseide for more information.
121+
112122
## Command-line options
113123

114124
The following table lists the impact of various runtime flags on debugging:
@@ -163,18 +173,18 @@ couple popular ones are listed below.
163173

164174
The V8 Debugging Protocol is no longer maintained or documented.
165175

166-
### [Built-in Debugger](https://nodejs.org/dist/latest/docs/api/debugger.html)
176+
### Built-in Debugger
167177

168178
Start `node debug script_name.js` to start your script under the builtin
169179
command-line debugger. Your script starts in another Node.js process started with
170180
the `--debug-brk` option, and the initial Node.js process runs the `_debugger.js`
171-
script and connects to your target.
181+
script and connects to your target. See [docs](https://nodejs.org/dist/latest/docs/api/debugger.html) for more information.
172182

173-
### [node-inspector](https://github.com/node-inspector/node-inspector)
183+
### node-inspector
174184

175185
Debug your Node.js app with Chrome DevTools by using an intermediary process
176186
which translates the [Inspector Protocol][] used in Chromium to the V8 Debugger
177-
protocol used in Node.js.
187+
protocol used in Node.js. See https://github.com/node-inspector/node-inspector for more information.
178188

179189
[Inspector Protocol]: https://chromedevtools.github.io/debugger-protocol-viewer/v8/
180190
[UUID]: https://tools.ietf.org/html/rfc4122

0 commit comments

Comments
 (0)