6

I am currently usings chromes fantastic Inspect Devices to debug my phonegap app.

However every single time I build the app and deploy to my phone I will get the following message:

Detached from the target etc

enter image description here

Is it possible to get Chrome to auto reload so I don't have to keep opening

Settings -> More Tools -> Inspect Devices

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Jamie Hutber
  • 26,790
  • 46
  • 179
  • 291

1 Answers1

-1

As far I know, at this moment it is possible to do it only by reload page. It will reload the code (HTML, js, CSS), but the history of WebView will not be cleared. By that I mean that if your app start on "http://start", and you are currently on url "http://a/b" and do reload, you will be now on "http://start", but click on back will not terminate app, you will be redirected on "http://a/b". If that is not problem, then relaod is your solution. Regards.

Nikola
  • 7
  • 1
  • 2
  • Ohhhh I've never hit reload on the page. – Jamie Hutber Apr 05 '16 at 00:28
  • Once the app is disconnected after re-installing/deploying it through phonegap or cordova, refreshing said debugging view does not bring it back; you have to close it and reconnect to the new chrome browser session. – mix3d Apr 06 '17 at 18:00