The Jabaco IDE starts the debuggee as separate Java process.
It uses Java Network Launching Protocol (JNLP) to do that.
This process is thus remotely controlled to be debuggable.
One could analyse parent/child relationships of process IDs to detect the "child" status w.r.t. the IDE.
But there ought to be simpler ways to answer the "isInIDE" question.
Probably a matter of some JNLP calls.
Greetings!
A1880