From 78c9e6e333da57d80ce875ac33e399619e64034b Mon Sep 17 00:00:00 2001 From: Daniel <16339876+dreusel@users.noreply.github.com> Date: Tue, 10 Jun 2025 10:50:12 +0200 Subject: [PATCH 1/3] Mention --disable-sigusr1 Signed-off-by: Daniel <16339876+dreusel@users.noreply.github.com> --- apps/site/pages/en/learn/getting-started/debugging.md | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/site/pages/en/learn/getting-started/debugging.md b/apps/site/pages/en/learn/getting-started/debugging.md index 89ee48b0c7eeb..8962a18b9363e 100644 --- a/apps/site/pages/en/learn/getting-started/debugging.md +++ b/apps/site/pages/en/learn/getting-started/debugging.md @@ -129,6 +129,7 @@ The following table lists the impact of various runtime flags on debugging: | --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 (since Node v23.7.0, v22.14.0). | | 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) | From d8d0ddfcad776848703217a1a49585384f9018e5 Mon Sep 17 00:00:00 2001 From: Daniel <16339876+dreusel@users.noreply.github.com> Date: Mon, 16 Jun 2025 01:58:29 +0200 Subject: [PATCH 2/3] Update apps/site/pages/en/learn/getting-started/debugging.md Co-authored-by: Aviv Keller Signed-off-by: Daniel <16339876+dreusel@users.noreply.github.com> --- apps/site/pages/en/learn/getting-started/debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/pages/en/learn/getting-started/debugging.md b/apps/site/pages/en/learn/getting-started/debugging.md index 8962a18b9363e..170cd11da34cc 100644 --- a/apps/site/pages/en/learn/getting-started/debugging.md +++ b/apps/site/pages/en/learn/getting-started/debugging.md @@ -129,7 +129,7 @@ The following table lists the impact of various runtime flags on debugging: | --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 (since Node v23.7.0, v22.14.0). | +| --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) | From dc2eee4c11f1479ccf85b006fccbcc57559b3b5f Mon Sep 17 00:00:00 2001 From: Michael Esteban Date: Mon, 16 Jun 2025 12:39:42 +1000 Subject: [PATCH 3/3] fix formatting --- apps/site/pages/en/learn/getting-started/debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/pages/en/learn/getting-started/debugging.md b/apps/site/pages/en/learn/getting-started/debugging.md index 170cd11da34cc..e4603e03606be 100644 --- a/apps/site/pages/en/learn/getting-started/debugging.md +++ b/apps/site/pages/en/learn/getting-started/debugging.md @@ -129,7 +129,7 @@ The following table lists the impact of various runtime flags on debugging: | --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. | +| --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) |