Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48977

Android Debugging

$
0
0

Just tried with Visual Studio Code to debug my Ionic Angular App.
I am using following launch.json.
I hit F5 and select my Device and Webview it will load and the debug bar is visable.
After a view seconds the bar disappear.
If i add in the launch.json a port it works but in the console red messages: “Could not read source map for http://localhost/pages-login-login-module-es2015.js: Unexpected 503 response from http://localhost/pages-login-login-module-es2015.js.map: connect ECONNREFUSED 127.0.0.1:80”

launch.json

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

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48977

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>