Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
NetBeans: nbactions for spring-boot
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<actionName>CUSTOM-spring-boot:run</actionName>
<displayName>spring-boot:run</displayName>
<goals>
<goal>spring-boot:run -Drun.jvmArguments="-Xms128m -Xmx256m"</goal>
</goals>
</action>
<action>
<actionName>CUSTOM-spring-boot:run-Debug</actionName>
<displayName>spring-boot:run-Debug</displayName>
<goals>
<goal>spring-boot:run -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4000""</goal>
</goals>
</action>
<action>
<actionName>CUSTOM-dependency:tree</actionName>
<displayName>dependency:tree</displayName>
<goals>
<goal>dependency:tree</goal>
</goals>
</action>
</actions>
@mike-boddin

This comment has been minimized.

Copy link
Owner Author

@mike-boddin mike-boddin commented Dec 8, 2015

For using the debug-mode start the spring-boot:run-Debug goal, wait for Listening for transport dt_socket at address: 4000 in the console and then attach the debugger by click on Debug->Attach Debugger... in the context-menu
attach_debugger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.