On app reinstall: Keep remote devtools open or automatically reconnect?

When I develop for Android I use chrome://inspect/#devices to open a dev tools session for my app to see the console output and network traffic. This works great and makes development much easier.

Unfortunately every time I create and install a new build via e.g. ionic cordova run android this connection gets lost:

image

Which of course makes sense, the app is removed and installed again. Each time I have to close the devtools session, got to chrome://inspect/#devices and click “Inspect” again.

Is there a way to keep the devtools session open or auto-reconnect when the new app is installed ?