-
-
Couldn't load subscription status.
- Fork 140
Debugging gradle builds
To debug Gradle scripts, you must enable this behaviour with a flag: org.gradle.debug=true set inside gradle.properties
Start debugging by initiating a remote Java debug through your IDE on port 5005
Beware that Gradle spawns daemons to execute secondary builds. This could be a problem when debugging. Please read the official Gradle docs about them.
You could stop them with gradle --stop and run a given task from the console with gradle some_task_name --no-daemon
or with org.gradle.daemon=false set inside your "~/.gradle/gradle.properties" file. (it's probably risky to set it there as if it is forgotten, ALL Gradle builds would run without a daemon thus having lower performance)