XDebugger Console Not Launching
Answered
I've created a run configuration and custom XDebug process that will be used for executing debug sessions.
When debugging the plugin I'm able to create a new run configuration and the debug icon shows up. I'm able to debug the plugin and can see that the debug process session is started. However, the debug console does not show up in the IDE.
I can't seem to figure out what I'm doing wrong here.
I mentioned in the previous post, but I'm trying to create a debugger that communicates through HTTP to a remote server in order to debug JS files (Rhino server implementation)
This approach was suggested by a JetBrains employee
https://github.com/nek4life/sfcc-studio/issues/9#issuecomment-483687786
Please sign in to leave a comment.
Hi, try using com.intellij.xdebugger.impl.XDebuggerManagerImpl#startSessionAndShowTab
That worked! Thank you!
At least now I can tell that the session has started. I'm still having issues showing the process is started in the run configuration itself.
Normally you'd see a green dot on both the debug icon and run configuration itself. Do you have any idea why this might be happening?
As a side note, is there a way to disable the run so this configuration only works in debug mode?
Enabled Run means that some runner supports your configuration...
Not sure about the icon, the logic is in com.intellij.execution.ExecutorRegistryImpl.ExecutorAction#getInformativeIcon.