Debug using Visual studio Code.
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
- Click the debug icon in the View bar
- click the configure gear icon
- 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..