paulo-fernando-silva / vscOctaveDebugger

MIT License
35 stars 4 forks source link

Add feature to automatically attach to the octave-cli process using, e.g., gdb? #72

Open v0lle85 opened 5 days ago

v0lle85 commented 5 days ago

Hi there,

Thanks for the great extension! It would be of even greater merit if there were a builtin option to automatically attach to the octave-cli process used to debug the octave script/program, so we can jump into .oct or .mex files run from the code automatically. Would that be possible, or is there even a possibility already?

Thanks!

paulo-fernando-silva commented 10 hours ago

Thank you. If I understand correctly, you're asking if it's possible to attach the debugger frontend to an already running octave-cli process started outside of vscode, right? Unfortunately, I don't believe it's possible to attach to a running process and redirect its I/O. Let me know if I understood your question correctly.