In the Developer Options scroll down to the Debugging section and choose your app in “Select debugging app“. This way it will not trigger any ANR when paused in a breakpoint.
The setting value will be remembered even if you remove/reinstall your app.
Note that this option may not be available depending on your API level.
