1

I was able to start debugging in VS2015(Tools for Apache Cordova) project, but didn't know what happened VS2015 stop to let me debug step by step. See as below, when I want to give command in JavaScript Console window > window.location.reload(), it give me "You are not currently attached to a supported page or app", does anyone have the same issue before?

Link

Update: 20161220. List of devices attached.

enter image description here

JimiOr2
  • 332
  • 1
  • 3
  • 16

1 Answers1

0

but didn't know what happened VS2015 stop to let me debug step by step. See as below, when I want to give command in JavaScript Console window > window.location.reload(), it give me "You are not currently attached to a supported page or app", does anyone have the same issue before?

I guess you are currently using Ripple Emulator. If you want to debug your app in Ripple emulator, just refresh the page of your web browser and don't use window.location.reload().

Notes: Ripple can only emulate web contents. For running native plugins, you will need to debug on real device or emulator. Please see Caution section of Run your Apache Cordova app on the Apache Ripple simulator.

Elvis Xia - MSFT
  • 10,801
  • 1
  • 13
  • 24
  • Hi @Elvis Thanks for your answer. Actually, I'm debugging on real device. I could use the command in the JavaScript Console before on real device and debug it, but now I couldn't. It always shows "You are not currently attached to a supported page or app". I have no idea how to let it debug again. – JimiOr2 Dec 20 '16 at 06:19
  • Could you please use `adb devices` of [this link](http://taco.visualstudio.com/en-us/docs/tips-and-workarounds-android-readme/) to check if your device is recognized by adb correctly. – Elvis Xia - MSFT Dec 20 '16 at 07:32
  • Hi @Elvis. I've attached the picture on the question update. thanks for your help. – JimiOr2 Dec 20 '16 at 11:22