What version of Bun is running?
1.1.34
What platform is your computer?
Darwin 23.6.0 arm64 arm
What steps can reproduce the bug?
When I run a file with bun from the terminal, both readline and process.stdout.write work correctly. But when I do it from the VSCode debug console with the Bun extension, all inputs are completely skipped and it doesn't wait for me to type user input. This is an issue with VSCode debugger not supporting user input in general (for node as well).
With node.js, VSCode supports the following setting inside the launch.json configuration: "console": "integratedTerminal"
This allows the node vscode debugger to use the integrated shell which does support user input.
However, Bun does not support this setting inside it's launch.json configuration. Enabling this does nothing.
What is the expected behavior?
Bun should enable support of the "console": "integratedTerminal" option so that it will work with the VSCode debugger with the integrated terminal and support user input.
What do you see instead?
No response
Additional information
No response
What version of Bun is running?
1.1.34
What platform is your computer?
Darwin 23.6.0 arm64 arm
What steps can reproduce the bug?
When I run a file with bun from the terminal, both
readlineandprocess.stdout.writework correctly. But when I do it from the VSCode debug console with the Bun extension, all inputs are completely skipped and it doesn't wait for me to type user input. This is an issue with VSCode debugger not supporting user input in general (for node as well).With node.js, VSCode supports the following setting inside the
launch.jsonconfiguration:"console": "integratedTerminal"This allows the node vscode debugger to use the integrated shell which does support user input.
However, Bun does not support this setting inside it's
launch.jsonconfiguration. Enabling this does nothing.What is the expected behavior?
Bun should enable support of the
"console": "integratedTerminal"option so that it will work with the VSCode debugger with the integrated terminal and support user input.What do you see instead?
No response
Additional information
No response