Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core alias for Spring Boot Remote Debug via Maven #13

Closed
arcticicestudio opened this issue Jan 26, 2017 · 0 comments
Closed

core alias for Spring Boot Remote Debug via Maven #13

arcticicestudio opened this issue Jan 26, 2017 · 0 comments

Comments

@arcticicestudio
Copy link
Owner

Add a core alias sbrd to remote debug Spring Boot applications.

JDK 5 or higher should use the-agentlib option instead of -Xdebug -Xrunjdwp (Java Debug Wire Protocol).
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999"

Append arguments via -Drun.jvmArguments and add the Maven command to run the Spring Boot Application via mvn spring-boot:run:

mvn spring-boot:run -Drun.jvmArguments="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant