How to get list of currently running run/debug configurations Prashant Deva 创建于 2015年07月26日 17:34 I want to get the list of all the currently launched run/debug configs to display them in a view.However, I am not sure which api to use to get that.
You can use
ExecutionManager.getInstance(project).getContentManager().getAllDescriptors()
method, then to check descriptor.getProcessHandler().isProcessTerminated() on the returned items to filter out terminated processes.
--
Nikolay Chashnikov
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"