atom-ide-ui
atom-ide-ui copied to clipboard
[Feature Request] Auto-Launch Debugger
Description
I don't understand much of the code for this, but as far as I can tell, this feature is not yet part of the package, and from the code I can see locally it shouldn't be too hard to implement for all languages with user input
It would be great to have a Quick-Debug button (Maybe like this https://i.imgur.com/W5ihDtD.png), which would automatically run the debugger on the current file with the default interpreter. It could also be invoked with a keyboard shortcut (I'm thinking Ctrl+F8, and replace Launch Debugger now with Ctrl+Shift+F8)
This would hopefully invoke a function that any future updates to ide-debugger packages could take advantage of, but until that is made, it would be user-definable. Using a 'Set Defaults' button in the LaunchAttachUI (See https://i.imgur.com/NBHa6kA.png), the user could fill in the fields as they like, using variables to define the working directory and working file ($0 and $1?) When the Quick-Debug button is clicked, the ide would then invoke the debugger with these settings, replacing the variables with the path of the file the User is editing at the time
This would be absolutely great for quick reloading the debugger between code edits, and allow the user to stop the debugger without problem
Thanks for considering this :) If you need me to elaborate on anything, please ask
Versions
- Atom: 1.27.2
- Client OS: Windows
- atom-ide-ui: 0.12.0
I'd prefer $file and $dir to the numbers