chore(documentation): Update Debugging.md (#96)

This commit is contained in:
Jamon Holmgren 2018-10-30 07:47:05 -07:00 committed by Thibault Malbranche
parent 6da6b417ba
commit b284bf959b
1 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,7 @@ Settings -> Safari -> Advanced -> Web Inspector
It's possible to debug WebView contents in the Android emulator or on a device using Chrome DevTools.
1. You will need to make the following change to `MainActivity.java` to enabled web contents debugging:
1. You will need to make the following change to `MainApplication.java` to enabled web contents debugging:
```java
import android.webkit.WebView;
@ -41,6 +41,8 @@ It's possible to debug WebView contents in the Android emulator or on a device u
4. Select your device on the left and select "Inspect" on the WebView contents you'd like to inspect
5. You can now debug the WebView contents just as you would on the web
![image](https://user-images.githubusercontent.com/1479215/47129785-9476e480-d24b-11e8-8cb1-fba77ee1c072.png)
##### Note:
When debugging on device you must enable USB debugging in your device settings: