Search code examples
javascriptloggingconsoleionic-frameworkgenymotion

Ionic + Genymotion : JavaScript logs


I'm trying to create an app with Ionic on Linux. I use the emulator Genymotion because ADB doesn't work on my computer (black screen until the end of time). I haven't any problem to run the app on Genymotion with ionic run android but I'm wondering how to see the JavaScript logs (I need to check what is wrong with the plugin cordova file). I tried to see it through the browser but it doesn't work.


Solution

    1. Set adb to IP of genymontion.
    2. Run Chrome
    3. enter this url chrome://inspect/#devices
    4. Enjoy.