I've made an extension that puts a debugger into the statusbar, in order to workaround a year-old issue with the default floating debugger widget (#2513 #9093) but I cannot quite make it work perfectly because there's no API for getting the status of the debugger.
In order to do that it would be necessary to know:
- if a debug session is currently active
- when it started/stopped
- if code execution is paused
A decent, and maybe more general, starting point might be to expose the switches used in keybindings under the when key, like inDebugMode for instance.
What do you think?
I've made an extension that puts a debugger into the statusbar, in order to workaround a year-old issue with the default floating debugger widget (#2513 #9093) but I cannot quite make it work perfectly because there's no API for getting the status of the debugger.
In order to do that it would be necessary to know:
A decent, and maybe more general, starting point might be to expose the switches used in keybindings under the
whenkey, likeinDebugModefor instance.What do you think?