From 13b93aeee54f4f6eb7c11a807d23ebbf878e9aeb Mon Sep 17 00:00:00 2001 From: Sajad Torkamani Date: Thu, 26 Jun 2025 19:18:39 +0100 Subject: [PATCH 1/2] Update debugging.md Signed-off-by: Sajad Torkamani --- apps/site/pages/en/learn/getting-started/debugging.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/site/pages/en/learn/getting-started/debugging.md b/apps/site/pages/en/learn/getting-started/debugging.md index e4603e03606be..563169a71269d 100644 --- a/apps/site/pages/en/learn/getting-started/debugging.md +++ b/apps/site/pages/en/learn/getting-started/debugging.md @@ -124,14 +124,14 @@ 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=[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-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. | +| --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) | +| 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 From c0220a8d187df2fc7dd893cde598d78b21156844 Mon Sep 17 00:00:00 2001 From: Sajad Torkamani Date: Thu, 26 Jun 2025 19:28:24 +0100 Subject: [PATCH 2/2] refactor: fix formatting --- .../pages/en/learn/getting-started/debugging.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/site/pages/en/learn/getting-started/debugging.md b/apps/site/pages/en/learn/getting-started/debugging.md index 563169a71269d..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) | +| 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 | 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 | 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) | +| --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