Skip to content

Instantly share code, notes, and snippets.

@vasanthk
Forked from Mohamed3on/CordovaDevtools.md
Created August 6, 2018 23:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vasanthk/e291ef23d040da9acdf04ccdeafd474c to your computer and use it in GitHub Desktop.
Save vasanthk/e291ef23d040da9acdf04ccdeafd474c to your computer and use it in GitHub Desktop.
Inspect Cordova/Ionic apps with Chrome Devtools
  1. Connect your Android device
  2. Make sure it's working correctly with adb and you can find it when you run adb devices
  3. In the directory of your app, run cordova run android --device, Now the app will run on your device
  4. Go to chrome://inspect/#devices on your Chrome browser, and select your app and click inspect
  5. Now you can inspect the HTML/CSS, and debug your JS with ease!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment