This is the dialog that appears when a NetBeans user selects the 'Attach Debugger...' item from the Debug menu.
I want to preset the value of the Port field so users just need to click OK to start debugging the process that my module has started.
This is the dialog that appears when a NetBeans user selects the 'Attach Debugger...' item from the Debug menu.
I want to preset the value of the Port field so users just need to click OK to start debugging the process that my module has started.
To use this technique your module will need a dependency on
Debugger Core API
and the following could go into yourInstaller
(Tested on NetBeans 6.9.1):For reference, this setting is located in:
And after running this code you'll have a section like: