{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/134","repository_url":"https://api.github.com/repos/Microsoft/vscode-cordova","labels_url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/134/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/134/events","html_url":"https://github.com/Microsoft/vscode-cordova/issues/134","id":159423634,"number":134,"title":"Debug configuration \"Serve to the browser (Ionic serve)\" timeouts","user":{"login":"sandcake","id":12281573,"avatar_url":"https://avatars.githubusercontent.com/u/12281573?v=3","gravatar_id":"","url":"https://api.github.com/users/sandcake","html_url":"https://github.com/sandcake","followers_url":"https://api.github.com/users/sandcake/followers","following_url":"https://api.github.com/users/sandcake/following{/other_user}","gists_url":"https://api.github.com/users/sandcake/gists{/gist_id}","starred_url":"https://api.github.com/users/sandcake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandcake/subscriptions","organizations_url":"https://api.github.com/users/sandcake/orgs","repos_url":"https://api.github.com/users/sandcake/repos","events_url":"https://api.github.com/users/sandcake/events{/privacy}","received_events_url":"https://api.github.com/users/sandcake/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-06-09T14:35:10Z","updated_at":"2016-10-12T21:51:04Z","closed_at":"2016-06-10T23:19:37Z","body":"Launching the Debugger with the configuration \"Serve to the browser (Ionic serve)\" fails with the following message in the console:\r\n\"Starting the Ionic dev server timed out (10000 ms)\",\r\nalthough manually launching an \"ionic serve\" call succeeds.\r\n\r\nFinally VSCode shows the following error at the command palette:\r\n\"[cordova-debug-adapter] Error: Starting the Ionic dev server timed out (10000 ms)\"\r\n\r\nUsing cordova 6.2.0 and Ionic 1.7.15"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/comments/253350432","html_url":"https://github.com/Microsoft/vscode-cordova/issues/134#issuecomment-253350432","issue_url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/134","id":253350432,"user":{"login":"gianpaj","id":899175,"avatar_url":"https://avatars.githubusercontent.com/u/899175?v=3","gravatar_id":"","url":"https://api.github.com/users/gianpaj","html_url":"https://github.com/gianpaj","followers_url":"https://api.github.com/users/gianpaj/followers","following_url":"https://api.github.com/users/gianpaj/following{/other_user}","gists_url":"https://api.github.com/users/gianpaj/gists{/gist_id}","starred_url":"https://api.github.com/users/gianpaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianpaj/subscriptions","organizations_url":"https://api.github.com/users/gianpaj/orgs","repos_url":"https://api.github.com/users/gianpaj/repos","events_url":"https://api.github.com/users/gianpaj/events{/privacy}","received_events_url":"https://api.github.com/users/gianpaj/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T21:51:04Z","updated_at":"2016-10-12T21:51:04Z","body":"For anybody hitting this, I had to increase the `devServerTimeout` to 120 seconds to debug an ionic app.\r\n\r\nI'm using the Genymotion emulator with this config:\r\n```json\r\n         {\r\n            \"name\": \"Run Android on device\",\r\n            \"type\": \"cordova\",\r\n            \"request\": \"launch\",\r\n            \"platform\": \"android\",\r\n            \"target\": \"device\",\r\n            \"port\": 9222,\r\n            \"sourceMaps\": true,\r\n            \"cwd\": \"${workspaceRoot}\",\r\n            \"ionicLiveReload\": false,\r\n            \"devServerTimeout\": 120000\r\n        },\r\n```\r\n```\r\n$ ionic info\r\n\r\nYour system information:\r\n\r\nCordova CLI: 6.3.1\r\nGulp version:  CLI version 3.9.1\r\nGulp local:\r\nIonic Framework Version: 2.0.0-rc.0\r\nIonic CLI Version: 2.1.0\r\nIonic App Lib Version: 2.1.0-beta.1\r\nios-deploy version: 1.8.6\r\nios-sim version: 5.0.8\r\nOS: Mac OS X El Capitan\r\nNode Version: v4.1.2\r\nXcode version: Xcode 8.0 Build version 8A218a\r\n```"}}
{"actor":{"display_login":"gianpaj"}}