vscode-js-debug: [Debug: Create JavaScript Debug Terminal] Executing the script does not trigger debugging

  • VS Code Version: 1.43.2
  • JavaScript Debugger (Nightly) Version: 2020.5.2617

Steps to reproduce:

  1. Create a one-off terminal for debugging via the Debug: Create JavaScript Debug Terminal command
  2. Execute the script command on the terminal created in the previous step, but the debugging process is not triggered

I added the following configuration into the settings.json:

{
  "debug.javascript.usePreview": true,
  "debug.javascript.debugByLinkOptions": "always",
}

image

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

I forgot that the shell variables can be concatenated, and now it works well:

export NODE_OPTIONS="--max_old_space_size=4096 ${NODE_OPTIONS}"

Thank you for the help! I’m sorry I didn’t check my shell variable configuration when I knew NODE_OPTIONS was a key environment variable.