Another pro tip. Enable -Xdebug only while you develop, via Gradle parameters: I like to pass in a "is.release" project parameter, which is read in the build script. If it's false (or absent) enable the flag, otherwise we're building for production and we don't need to de-optimize.
Pro tip: use Force Step Over instead of Step Over, and your debug session won't terminate (99% of the times). But I think debugging enhancements are going to land soon anyway.
Nikita has so gentle and pleasant voice. I really like this talk!
Another pro tip. Enable -Xdebug only while you develop, via Gradle parameters: I like to pass in a "is.release" project parameter, which is read in the build script. If it's false (or absent) enable the flag, otherwise we're building for production and we don't need to de-optimize.
Thank you, this was greatly needed !!
Pro tip: use Force Step Over instead of Step Over, and your debug session won't terminate (99% of the times).
But I think debugging enhancements are going to land soon anyway.