use of com.intellij.execution.configurations.RemoteRunProfile in project intellij-community by JetBrains.
the class XDebuggerTree method isUnderRemoteDebug.
public boolean isUnderRemoteDebug() {
DataContext context = DataManager.getInstance().getDataContext(this);
ExecutionEnvironment env = LangDataKeys.EXECUTION_ENVIRONMENT.getData(context);
if (env != null && env.getRunProfile() instanceof RemoteRunProfile) {
return true;
}
return false;
}
Aggregations