Extending default remote debugger
Hi,
I'm developing a plugin to just extend the already defined "Remote" profile for remote java debug.
My intent is to automate the host;port parameter. I found the class
RemoteDebugConfiguration
which need a
public XDebugProcess createDebugProcess(
implemented. But I don't want re-implement things, I need the default XDebugProcess.
Any help?
Please sign in to leave a comment.
Hi, have a look at com.intellij.execution.remote.RemoteConfiguration, you may try to extend it and override getState providing your own RunProfileState with RemoteConnection you need.
Otherwise have a look at how GenericDebuggerRunner works, it is responsible for debugger startup.
Yes, this is what I'm trying to do, but there is NO documentation at all for creating an XDebugProcess instance.
See this:
I need to create the default debugger. How?
com.intellij.execution.remote.RemoteConfiguration, not org.jetbrains.debugger.RemoteDebugConfiguration
Done. Thank you!