Can not debugging vs code in ionic 3


#1

I’m not able to debug my project. I was set break point.
i found error like this Cannot launch program ‘d:\tutorials_app\src\pages\home\home.ts’ because corresponding JavaScript cannot be found open launch.json.


#2

if you use chrome add this plugin Chrome debugger
and these configurations to launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch in Chrome",
            "type": "chrome",
            "request": "launch",
            "url": "http://localhost:8100",
            "sourceMaps": true,
            "webRoot": "${workspaceRoot}/www"
        }
    ]
}

#3

Thank you so much @udithaprasad