Commit 59496abf authored by Phillip Webb's avatar Phillip Webb

Add mvnDebug how-to

Fixes gh-713
parent 51c403b6
...@@ -1253,6 +1253,20 @@ third-party dependencies. Overriding versions may cause compatibilty issues. ...@@ -1253,6 +1253,20 @@ third-party dependencies. Overriding versions may cause compatibilty issues.
[[howto-remote-debug-maven-run]]
=== Remote debug a Spring Boot application started with Maven
To attach a remote debugger to a Spring Boot application started with Maven you can use
the `mvnDebug` command rather than `mvn`. For example:
[indent=0]
----
$ mvnDebug spring-boot:run
----
You can now attach a remote debugger to your running application on port `8000`.
[[howto-build-an-executable-archive-with-ant]] [[howto-build-an-executable-archive-with-ant]]
=== Build an executable archive with Ant === Build an executable archive with Ant
To build with Ant you need to grab dependencies, compile and then create a jar or war To build with Ant you need to grab dependencies, compile and then create a jar or war
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment