I have created a plugin for visualizing the debugging variables during a debugging session. So far, I have tested the plugin manually.
I want to convert my manual testing to JUnit tests. However, I do not know how/if I can create an XDebugSession or XStackFrame programmatically as if I were debugging through the IDE.
I would like to start a debugging session for a given class file in a given line and then use the associated XStackFrame for my testing.
Maybe someone has an idea how to do this. I do not think the debugger is tested manually when an IntelliJ release happens, so I am nearly certain that this should be possible somehow.
Thanks in advance for any help or suggestions!