Skip to content

Commit 84fa725

Browse files
docs: improve wording (#7898)
* Update debugging.md Signed-off-by: Sajad Torkamani <sajadtorkamani1@gmail.com> * refactor: fix formatting --------- Signed-off-by: Sajad Torkamani <sajadtorkamani1@gmail.com>
1 parent b582b77 commit 84fa725

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,17 @@ See https://eclipse.org/eclipseide for more information.
121121

122122
The following table lists the impact of various runtime flags on debugging:
123123

124-
| Flag | Meaning |
125-
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
126-
| --inspect | Enable inspector agent; Listen on default address and port (127.0.0.1:9229) |
127-
| --inspect=[host:port] | Enable inspector agent; Bind to address or hostname host (default: 127.0.0.1); Listen on port port (default: 9229) |
128-
| --inspect-brk | Enable inspector agent; Listen on default address and port (127.0.0.1:9229); Break before user code starts |
129-
| --inspect-brk=[host:port] | Enable inspector agent; Bind to address or hostname host (default: 127.0.0.1); Listen on port port (default: 9229); Break before user code starts |
130-
| --inspect-wait | Enable inspector agent; Listen on default address and port (127.0.0.1:9229); Wait for debugger to be attached. |
131-
| --inspect-wait=[host:port] | Enable inspector agent; Bind to address or hostname host (default: 127.0.0.1); Listen on port port (default: 9229); Wait for debugger to be attached. |
132-
| --disable-sigusr1 | Disable the ability of starting a debugging session by sending a SIGUSR1 signal to the process. |
133-
| node inspect script.js | Spawn child process to run user's script under --inspect flag; and use main process to run CLI debugger. |
134-
| node inspect --port=xxxx script.js | Spawn child process to run user's script under --inspect flag; and use main process to run CLI debugger. Listen on port port (default: 9229) |
124+
| Flag | Meaning |
125+
| ---------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
126+
| --inspect | Enable inspector agent; Listen on default address and port (127.0.0.1:9229) |
127+
| --inspect=[host:port] | Enable inspector agent; Bind to address or hostname `host` (default: 127.0.0.1); Listen on port `port` (default: 9229) |
128+
| --inspect-brk | Enable inspector agent; Listen on default address and port (127.0.0.1:9229); Break before user code starts |
129+
| --inspect-brk=[host:port] | Enable inspector agent; Bind to address or hostname `host` (default: 127.0.0.1); Listen on port `port` (default: 9229); Break before user code starts |
130+
| --inspect-wait | Enable inspector agent; Listen on default address and port (127.0.0.1:9229); Wait for debugger to be attached. |
131+
| --inspect-wait=[host:port] | Enable inspector agent; Bind to address or hostname `host` (default: 127.0.0.1); Listen on port `port` (default: 9229); Wait for debugger to be attached. |
132+
| --disable-sigusr1 | Disable the ability of starting a debugging session by sending a SIGUSR1 signal to the process. |
133+
| node inspect script.js | Spawn child process to run user's script under --inspect flag; and use main process to run CLI debugger. |
134+
| node inspect --port=xxxx script.js | Spawn child process to run user's script under --inspect flag; and use main process to run CLI debugger. Listen on port `port` (default: 9229) |
135135

136136
## Enabling remote debugging scenarios
137137

0 commit comments

Comments
 (0)