Cordova and Ionic 2 Development

Debug Ionic Android Application on Mobile Devices

Run Ionic 2 on the Android device including LiveReload and Console output:

ionic run android -c -l

# -l: LiveReload
# -c: Console output

Inspect elements and network monitoring:

# Open in Chrome and select the Android device
chrome://inspect/#devices

source: Codeproject – Debug-Ionic-Android-Application-On-Mobile-Devices

 

Debug Ionic iOS Application on Mobile Devices

sudo npm install -g ios-simu
sudo npm install -g ios-deploy --unsafe-perm=true

ionic run ios --device