cordova debugging by chrome

in #debugging7 years ago

Allow usb debugging to be the default

Explain ..

First allow usb debugging

cordova platform -add android

cordova run android.

Then your app will run on your phone.

At this time,

Execute the following command in the address bar.

chrome: // inspect / # devices

캡처.png

Click inspect on the corresponding webview as shown above.

캡처2.png

Then you can see the screen of the mobile phone as shown above.

I will not mention javascript debugging here.

Note: Do not build in release mode