Issue
I've got an application written in Lua that enters into the raw terminal mode. However, when trying to debug the application, I run into the issue that input and output are redirected from/into file like streams (I assume to integrate properly with the Video Studio Code Debug Console). The Visual Studio Code debug console doesn't support raw mode and it's not really a terminal at all, so terminal applications simply won't work.
To reproduce my issue, you can run the following on any debian-like system:
os.execute("/bin/stty raw") -- enables raw mode
os.execute("/bin/stty sane") -- disables raw mode
The "Debug Console" shows errors right away when debugging:
/bin/stty: 'standard input': Inappropriate ioctl for device

Request
It would be great if there was a way for me to debug my application with input and output bound to an instance of the integrated terminal, such that raw mode and other things from stty will work.
Issue
I've got an application written in Lua that enters into the raw terminal mode. However, when trying to debug the application, I run into the issue that input and output are redirected from/into file like streams (I assume to integrate properly with the Video Studio Code Debug Console). The Visual Studio Code debug console doesn't support raw mode and it's not really a terminal at all, so terminal applications simply won't work.
To reproduce my issue, you can run the following on any debian-like system:
The "Debug Console" shows errors right away when debugging:
Request
It would be great if there was a way for me to debug my application with input and output bound to an instance of the integrated terminal, such that raw mode and other things from stty will work.