pluto
pluto copied to clipboard
Activate and deactivate the debugging (and notification) on demand
I'd like to programmatically (de)activate the debugging (and notification), for example by turning a switch "debug mode" in settings.
As there is a method Pluto.initialize(context)
, it could be a Pluto.terminate(context)
one. Personally, I prefer the "start/stop" tuple but whatever.
Maybe it could be painful for the related classes (OkHttp's interceptor, ANRListener), to stop the debugging. What about an event mechanism?
hi @RoRoche, can you share your use case in a bit more detail, it will help to solutionize this.
I want to give debug access to only advanced users. It would be an option in a specific settings menu, accessible with a password. So it would be a checkbox "debug mode" and I'd like to dynamically start/stop Pluto on checkbox' changes.
Stale issue
Stale issue