I had a similar problem: initializing the remote debugger continued to crash my application, and I could not disable remote debugging through the integrated GUI.
After uninstalling the application from the device (or emulator), remote debugging was disabled when I started the application again.
I assume that the remote debug flag is saved in the general preferences of the application (which are deleted after deletion).
source share