Closed Kael-Chan closed 7 years ago
I have a pull request, 31i73/atom-dbg-gdb#16, for this.
But as a work around, you can connect a terminal window, outside of atom, to your debug application for standard IO.
tty
you will get output the path to the terminal file, something like /dev/pts/12
"-tty=/dev/pts/12"
(match path from tty command) to gdb_arguments
"connect to term":
debugger: 'dbg-gdb'
path: "out"
gdb_arguments: ["-tty=/dev/pts/12"]
not yet tested, but should work.
"set new-console on"
to gdb_commands
array"start new term":
debugger: 'dbg-gdb'
path: "out.exe"
gdb_commands: ["set new-console on"]
when using atom-dbg on call of functions like cin, there's no method to enter uses data in it. how to solve it ? thank you~