I've been able to run DAP debugger in headless mode.
CommandLineDAPUIManager should be selected as default UIManager doing CommandLineDAPUIManager new beDefault.
In iPharo (jupyter kernel) I execute it on my CommandLineHandler. I start the iPharo Kernel by a command line parameter, so when I start pharo I check first if it is in headless mode by sending #isValidForCurrentSystemConfiguration.
CommandLineDapUIManager isValidForCurrentSystemConfiguration ifTrue:[
CommandLineDapUIManager new beDefault.
].
I hope It'll help you to run it in headless mode.
Also need to remove the stepOver on halt (I put that there...) It doesn't work if it makes the stepOver on halt...don't know why exactly...
I've been able to run DAP debugger in headless mode. CommandLineDAPUIManager should be selected as default UIManager doing CommandLineDAPUIManager new beDefault. In iPharo (jupyter kernel) I execute it on my CommandLineHandler. I start the iPharo Kernel by a command line parameter, so when I start pharo I check first if it is in headless mode by sending #isValidForCurrentSystemConfiguration.
CommandLineDapUIManager isValidForCurrentSystemConfiguration ifTrue:[ CommandLineDapUIManager new beDefault. ]. I hope It'll help you to run it in headless mode.
Also need to remove the stepOver on halt (I put that there...) It doesn't work if it makes the stepOver on halt...don't know why exactly...