-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugging tsx via NPM does not work if console is set to integratedTerminal or externalConsole, only internalConsole works #227285
Debugging tsx via NPM does not work if console is set to integratedTerminal or externalConsole, only internalConsole works #227285
Comments
I cannot reproduce this. Please check your terminal configuration and dotfiles (e.g. npmrc) to see if you have anything that would overwrite the |
Strange can you run the Developer: Toggle Developer Tools command and check for any errors that might have been logged there? |
Modifying the launch.json to directly use tsx or ts-node without a npm task works, so I assume it somehow breaks because of npm being inbetween? |
Got it. Last question, can you share the contents of I think the command is likely running a Node process before tsx, which is being attached to in order to debug, but then by the time it launches your real program the debugger thinks it already finished. |
Sure
|
that would do it |
@connor4312 I’m in the same situation, but on MacOS, after updating to Sequoia. How would it be in this case? |
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
npm init
, install tsx as dev dependency. Create a npm task that runsnpx tsx file.ts
, and a launch.json profile that runs that task.Also tested in Insiders with default extensions, same issue. Also happens with ts-node in place of tsx.
The text was updated successfully, but these errors were encountered: