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/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s