Android Debugging

Sloved the problem by myself.

You need to downgrade two vscode extensions

  • Android WebView Debugging to Version: 1.1.2
  • Debugger for Chrome to 4.12.12

I think the problem comes with the new extension version from the “Android Webview Debugging”
it uses “ms-vscode.js-debug” instead of “Debugger for Chrome” and for me it was not possible to debug some things with it.

Also i added the port attribute to my launch.json it looks like:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "android-webview",
            "request": "attach",
            "name": "Attach to Android WebView",
            "port": 9222,
            "webRoot": "${workspaceFolder}/www",
            "sourceMaps": true,
            "sourceMapPathOverrides": {
                "webpack:/*": "${workspaceFolder}/*"
            }
        }
    ]
}
1 Like