VS2015 - Couldn't input command in JavaScript in Cordova project

264 views Asked by At

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

1

There are 1 answers

3
Elvis Xia - MSFT On

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.