How to enable debugging for Gradle projects?

1. Open the terminal of Idea and enter the command gradle build --debug to turn on the build DeBug mode.

 2. Click Edit Configuration and fill in your debug name.

 

 3. After editing the debug configuration, click the debug button below to start debugging the code.

 

 

Guess you like

Origin blog.csdn.net/weixin_71921932/article/details/132561699