right now what i do is i create a sleep loop in the end of the main… and run the app allowing debug access…
then i connect intellij to it, and set a breakpoint inside the sleep loop…
when i stop at breakpoint i can easily define expressions and run them at that point…