package com.jiahaoliuliu.webdebuggingsample;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class MainActivity extends AppCompatActivity {

    private static final String WEB_URL = "https://dubai.dubizzle.com/";

    private WebView mWebView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        // Link the views
        mWebView = (WebView) findViewById(R.id.web_view);
        mWebView.setWebViewClient(new WebViewClient());
        WebSettings webSettings = mWebView.getSettings();
        webSettings.setJavaScriptEnabled(true);
        mWebView.loadUrl(WEB_URL);
    }
}

@@ -39,16 +39,41 @@
 ample;%0A%0A
+import android.os.Build;%0A
 import a
@@ -809,24 +809,161 @@
 bled(true);%0A
+%0A        if (Build.VERSION.SDK_INT %3E= Build.VERSION_CODES.KITKAT) %7B%0A            WebView.setWebContentsDebuggingEnabled(true);%0A        %7D%0A%0A
         mWeb

Set the debugger