I am trying to debug a simple "tutorial" ruby program that uses gets to fetch input. It seems the debugger freezes and there is no way to input a line of text into the program when it runs in the debugger. Is this expected? Is it possible to debug interactive ruby console text input?
This seems useful to me when teaching some basic "enter your name and age" type programs to young developers.
By using the code runner extension and going to : settings => code runner : run in terminal => check , it will work and ask for the input. 03/01/2022 ; in case someone new is looking for the answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With