We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The documentation on how to debug here: https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/#run.examples.debug says to use:
<jvmArguments> -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 </jvmArguments>
Since Java8, the -Xdebug support has been dropped. Ref: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BABHDABI
While it still works, the better way to do it is:
<jvmArguments> -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 </jvmArguments>
And via the command line:
$ mvn spring-boot:run -Dspring-boot.run.jvmArguments=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
You also no longer need the quotes, so the "make sure to wrap that properly" comment can also be removed.
Cheers, and thanks for the awesome Spring Boot product!
The text was updated successfully, but these errors were encountered:
Closing in favor of #39392.
Sorry, something went wrong.
No branches or pull requests
The documentation on how to debug here: https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/#run.examples.debug says to use:
Since Java8, the -Xdebug support has been dropped. Ref: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BABHDABI
While it still works, the better way to do it is:
And via the command line:
You also no longer need the quotes, so the "make sure to wrap that properly" comment can also be removed.
Cheers, and thanks for the awesome Spring Boot product!
The text was updated successfully, but these errors were encountered: