When debugging with Goland on macos, my program waits for input from stdin.
I can type in the console and press enter, but the input is not passed to my program.
It is just like typing in a text editor. I can type, press enter, delete everything I just did. My program gets none of this passed to it.
I also get this behavior when debugging with dlv from the console, however, I have found discussion on how to address it in that circumstance:
I see a similar fix for vscode as well:
But I could not find a solution for goland.