Debug cordova with visual studio code

Debug using Visual studio Code.

Installation Steps:

Open project folder and start set up the launch.JSON setting. Please follow the instruction here to set up the cordova  extension. https://github.com/Microsoft/vscode-cordova

  1. Click the debug icon in the View bar
  2. click the configure gear icon
  3. choose the Cordova debug environment.

The launch configuration file appears. It contains some default configurations

Now we need to include adb into your Variable Environment PATH on your Laptop.

Last but not list.. Please reboot you laptop. Then you are ready to debug..

https://github.com/Microsoft/vscode-cordova

http://blog.majcica.com/2016/04/07/visual-studio-code-behind-a-proxy/

https://blogs.msdn.microsoft.com/visualstudio/2016/01/28/apache-cordova-development-lands-on-visual-studio-code/

Subscribe to Code, Query, Ship, and Learn

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe