{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/91","repository_url":"https://api.github.com/repos/Microsoft/vscode-cordova","labels_url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/91/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/91/events","html_url":"https://github.com/Microsoft/vscode-cordova/issues/91","id":146184294,"number":91,"title":"Can't debug ionic 2 typescript project","user":{"login":"zhouhao27","id":8099731,"avatar_url":"https://avatars.githubusercontent.com/u/8099731?v=3","gravatar_id":"","url":"https://api.github.com/users/zhouhao27","html_url":"https://github.com/zhouhao27","followers_url":"https://api.github.com/users/zhouhao27/followers","following_url":"https://api.github.com/users/zhouhao27/following{/other_user}","gists_url":"https://api.github.com/users/zhouhao27/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouhao27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouhao27/subscriptions","organizations_url":"https://api.github.com/users/zhouhao27/orgs","repos_url":"https://api.github.com/users/zhouhao27/repos","events_url":"https://api.github.com/users/zhouhao27/events{/privacy}","received_events_url":"https://api.github.com/users/zhouhao27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-06T04:34:19Z","updated_at":"2016-04-06T04:51:29Z","closed_at":null,"body":"Got the following error message when I was trying to **Run iOS on simulator**:\r\n\r\n> Launching for ios (This may take a while)...\r\n> Launching app (This may take a while)...\r\n> Attaching to ios\r\n> Configuring debugging proxy\r\n> Unable to communicate with ios_webkit_debug_proxy\r\n> connect ECONNREFUSED 127.0.0.1:9220\r\n\r\nI didn't change anything in launch.json:\r\n\r\n\t\t{\r\n\t\t\t\"name\": \"Run iOS on simulator\",\r\n\t\t\t\"type\": \"cordova\",\r\n\t\t\t\"request\": \"launch\",\r\n\t\t\t\"platform\": \"ios\",\r\n\t\t\t\"target\": \"emulator\",\r\n\t\t\t\"port\": 9220,\r\n\t\t\t\"sourceMaps\": true,\r\n\t\t\t\"cwd\": \"${workspaceRoot}\",\r\n\t\t\t\"ionicLiveReload\": false\r\n\t\t},\r\n\r\nionic info:\r\n\r\nYour system information:\r\n\r\n> Cordova CLI: 6.0.0\r\n> Gulp version:  CLI version 3.9.0\r\n> Gulp local:   Local version 3.9.1\r\n> Ionic Version: 2.0.0-beta.3\r\n> Ionic CLI Version: 2.0.0-beta.23\r\n> Ionic App Lib Version: 2.0.0-beta.13\r\n> ios-deploy version: 1.8.2 \r\n> ios-sim version: 5.0.6 \r\n> OS: Mac OS X El Capitan\r\n> Node Version: v5.3.0\r\n> Xcode version: Xcode 7.3 Build version 7D175 \r\n\r\nWhat could be the reason? Thanks."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/comments/206117735","html_url":"https://github.com/Microsoft/vscode-cordova/issues/91#issuecomment-206117735","issue_url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/91","id":206117735,"user":{"login":"MSLaguana","id":14098340,"avatar_url":"https://avatars.githubusercontent.com/u/14098340?v=3","gravatar_id":"","url":"https://api.github.com/users/MSLaguana","html_url":"https://github.com/MSLaguana","followers_url":"https://api.github.com/users/MSLaguana/followers","following_url":"https://api.github.com/users/MSLaguana/following{/other_user}","gists_url":"https://api.github.com/users/MSLaguana/gists{/gist_id}","starred_url":"https://api.github.com/users/MSLaguana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSLaguana/subscriptions","organizations_url":"https://api.github.com/users/MSLaguana/orgs","repos_url":"https://api.github.com/users/MSLaguana/repos","events_url":"https://api.github.com/users/MSLaguana/events{/privacy}","received_events_url":"https://api.github.com/users/MSLaguana/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T04:51:29Z","updated_at":"2016-04-06T04:51:29Z","body":"This error indicates that we can't find your app in the list of apps returned by ios_webkit_debug_proxy. Are you targeting the simulator or a device? If you are targeting a device, have you made sure to enable the web inspector in `settings -> safari -> advanced`?"}}