Open bluelovers opened 4 years ago
bug is by esm-ts-node
How do you reproduce this? How to use esm-ts-node
? Re-open this ticket, I'll try to help
Only run once for me, but debug not working
I know what's wrong. Getting debug message twice is correct with esm-ts-node
. Only runs once, but debug connects twice.
esm-ts-node
creates a child processOne run, two messages
looks like can't fix this by delete NODE_OPTIONS
lol, it will make debug point not work
How about not using esm-ts-node? When you have debug with esm-ts-node selected, you can instead run node -r esm -r ts-node/register
directly
https://github.com/bluelovers/idea-run-typescript/pull/14#issuecomment-678684547
https://github.com/bluelovers/idea-run-typescript/pull/14#issuecomment-678695824
https://github.com/bluelovers/idea-run-typescript/pull/14#issuecomment-678802907