mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-03-25 02:21:35 +01:00
information about debugging gradle
This commit is contained in:
15
README.md
15
README.md
@@ -163,3 +163,18 @@ Plugin is just counting lines in build.gradle file in current directory.
|
||||
|
||||
gradle tasks
|
||||
gradle countLines
|
||||
|
||||
## 16-debug-gradle-script
|
||||
|
||||
Do not run in daemon mode.
|
||||
Set environment variable GRADLE_OPTS to
|
||||
|
||||
"-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
|
||||
|
||||
Start gradle task
|
||||
|
||||
gradle hello
|
||||
|
||||
Attach remote debugger from Ide.
|
||||
|
||||
More information: http://georgik.sinusgear.com/2014/06/23/how-to-debug-gradle-script/
|
||||
|
||||
Reference in New Issue
Block a user