Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
618e6d6b
Commit
618e6d6b
authored
Jul 27, 2016
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6461 from bijukunjummen/gradle-debug-fix
* pr/6461: Update Gradle remote debug documentation
parents
753a7e1d
d7a1730b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
howto.adoc
spring-boot-docs/src/main/asciidoc/howto.adoc
+5
-5
No files found.
spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
618e6d6b
...
...
@@ -2722,15 +2722,15 @@ Check {spring-boot-maven-plugin-site}/examples/run-debug.html[this example] for
[[howto-remote-debug-gradle-run]]
=== Remote debug a Spring Boot application started with Gradle
To attach a remote debugger to a Spring Boot application started with Gradle you can use
the `
applicationDefaultJvmArgs` in `build.gradle` or
`--debug-jvm` command line option.
the `
jvmArgs` property of bootRun task OR
`--debug-jvm` command line option.
`build.gradle`:
[source,groovy,indent=0,subs="verbatim,attributes"]
----
applicationDefaultJvmArgs = [
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
]
bootRun {
jvmArgs
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
}
----
...
...
@@ -2738,7 +2738,7 @@ Command line:
[indent=0]
----
$ gradle
r
un --debug-jvm
$ gradle
bootR
un --debug-jvm
----
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment