Skip to content

Instantly share code, notes, and snippets.

@Mohamed3on
Last active June 8, 2023 07:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save Mohamed3on/caab595a0fec2acd40153a8aa9cb4328 to your computer and use it in GitHub Desktop.
Save Mohamed3on/caab595a0fec2acd40153a8aa9cb4328 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