//leakcanary-android-core/leakcanary/LeakCanary/Config/dumpHeapWhenDebugging

dumpHeapWhenDebugging

[androidJvm]
val dumpHeapWhenDebugging: Boolean = false

If dumpHeapWhenDebugging is false then LeakCanary will not dump the heap when the debugger is attached. The debugger can create temporary memory leaks (for instance if a thread is blocked on a breakpoint).

Defaults to false.