This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There seems to be no way to disable 'Start Server (Debug)' button in the 'Start Server' dialog. I assume that the return value of the StartServer.isDebuggable() method should be used for these purposes.
The method javadoc: /** * Returns true if the given target is in debug mode. */ public abstract boolean isDebuggable(Target target); Unfortunately there is no API for plugin to tell that is could start server in normal mode but could not start server in debug mode. Why there is such exception? Debug mode could be done with just jvm options, so I am just curious on this need.
I'm afraid this is not fixable now. AFAIK the StartServer.isDebuggable(Target) method doesn't say whether the given target can be debugged but whether it is currently running in the debug mode or not. The method name is quite confusing.
Not solvable now. We could add API for this (perhaps smth like public bbolean supportsDebugging() into StartServer) in future.
This issue is critical to JSE. Debug Project menu item should be also disabled
it looks like this got implemented