瀏覽代碼

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

Jamon Holmgren 6 年之前
父節點
當前提交
b284bf959b
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      docs/Debugging.md

+ 3
- 1
docs/Debugging.md 查看文件

25
 
25
 
26
 It's possible to debug WebView contents in the Android emulator or on a device using Chrome DevTools.
26
 It's possible to debug WebView contents in the Android emulator or on a device using Chrome DevTools.
27
 
27
 
28
-1. You will need to make the following change to `MainActivity.java` to enabled web contents debugging:
28
+1. You will need to make the following change to `MainApplication.java` to enabled web contents debugging:
29
 ```java
29
 ```java
30
   import android.webkit.WebView;
30
   import android.webkit.WebView;
31
 
31
 
41
 4. Select your device on the left and select "Inspect" on the WebView contents you'd like to inspect
41
 4. Select your device on the left and select "Inspect" on the WebView contents you'd like to inspect
42
 5. You can now debug the WebView contents just as you would on the web
42
 5. You can now debug the WebView contents just as you would on the web
43
 
43
 
44
+![image](https://user-images.githubusercontent.com/1479215/47129785-9476e480-d24b-11e8-8cb1-fba77ee1c072.png)
45
+
44
 ##### Note:
46
 ##### Note:
45
 
47
 
46
 When debugging on device you must enable USB debugging in your device settings:
48
 When debugging on device you must enable USB debugging in your device settings: