diff --git a/apps/site/pages/en/learn/getting-started/debugging.md b/apps/site/pages/en/learn/getting-started/debugging.md index e4603e03606be..7076ddec4b066 100644 --- a/apps/site/pages/en/learn/getting-started/debugging.md +++ b/apps/site/pages/en/learn/getting-started/debugging.md @@ -121,17 +121,17 @@ See https://eclipse.org/eclipseide for more information. The following table lists the impact of various runtime flags on debugging: -| Flag | Meaning | -| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| --inspect | Enable inspector agent; Listen on default address and port (127.0.0.1:9229) | -| --inspect=[host:port] | Enable inspector agent; Bind to address or hostname host (default: 127.0.0.1); Listen on port port (default: 9229) | -| --inspect-brk | Enable inspector agent; Listen on default address and port (127.0.0.1:9229); Break before user code starts | -| --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 | -| --inspect-wait | Enable inspector agent; Listen on default address and port (127.0.0.1:9229); Wait for debugger to be attached. | -| --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. | -| --disable-sigusr1 | Disable the ability of starting a debugging session by sending a SIGUSR1 signal to the process. | -| node inspect script.js | Spawn child process to run user's script under --inspect flag; and use main process to run CLI debugger. | -| 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) | +| Flag | Meaning | +| ---------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | +| --inspect | Enable inspector agent; Listen on default address and port (127.0.0.1:9229) | +| --inspect=[host:port] | Enable inspector agent; Bind to address or hostname `host` (default: 127.0.0.1); Listen on port `port` (default: 9229) | +| --inspect-brk | Enable inspector agent; Listen on default address and port (127.0.0.1:9229); Break before user code starts | +| --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 | +| --inspect-wait | Enable inspector agent; Listen on default address and port (127.0.0.1:9229); Wait for debugger to be attached. | +| --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. | +| --disable-sigusr1 | Disable the ability of starting a debugging session by sending a SIGUSR1 signal to the process. | +| node inspect script.js | Spawn child process to run user's script under --inspect flag; and use main process to run CLI debugger. | +| 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) | ## Enabling remote debugging scenarios