问题
There are several examples on stack overflow of how to enable/disable the debug perspective from opening when the debugger activates (i.e., hits a breakpoint). This would be achieved by going to:
Preferences -> Run/Debug -> Perspectives -> Open the associated perspective when application suspends
My question is not about this. Whenever I start my server in debug mode, the debug perspective opens. Since I already have the debug view open in my custom perspective, this is not the behavior I want. I've tried editing every option in Preferences -> Run/Debug -> Perspectives, so I know the answer is not there. Does anyone know how to stop this behavior?
回答1:
I found a simple workaround that obtains the same result. I now use the "Debug" perspective itself as my main perspective. I've customized the "Debug" perspective to look like the custom perspective I used to use. Now this perspective is the only one that is ever open and I can keep the IDE looking like how I want it to look.
来源:https://stackoverflow.com/questions/27154039/stop-eclipse-from-automatically-opening-the-debug-perspective-when-starting-serv