VS Code unable to debug type script code ionic 2

Unable to debug typescript code. Instead of red dot I get “Unverified Breakpoint”.

Not sure if the path is correct “cwd”: “${workspaceRoot}”,

My launch.json file looks like following:
{
“name”: “Run iOS on simulator”,
“type”: “cordova”,
“request”: “launch”,
“platform”: “ios”,
“target”: “emulator”,
“port”: 9220,
“sourceMaps”: true,
“cwd”: “${workspaceRoot}”,
“ionicLiveReload”: false
}

1 Like