{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/2940","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/2940/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/2940/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/2940/events","html_url":"https://github.com/Microsoft/vscode/issues/2940","id":133003742,"number":2940,"title":"preLaunchTask improvements","user":{"login":"isidorn","id":1926584,"avatar_url":"https://avatars.githubusercontent.com/u/1926584?v=3","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/debug","name":"debug","color":"c7def8"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/testplan-item","name":"testplan-item","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/12","html_url":"https://github.com/Microsoft/vscode/milestones/Feb%202016","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/12/labels","id":1512192,"number":12,"title":"Feb 2016","description":null,"creator":{"login":"weinand","id":1898161,"avatar_url":"https://avatars.githubusercontent.com/u/1898161?v=3","gravatar_id":"","url":"https://api.github.com/users/weinand","html_url":"https://github.com/weinand","followers_url":"https://api.github.com/users/weinand/followers","following_url":"https://api.github.com/users/weinand/following{/other_user}","gists_url":"https://api.github.com/users/weinand/gists{/gist_id}","starred_url":"https://api.github.com/users/weinand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weinand/subscriptions","organizations_url":"https://api.github.com/users/weinand/orgs","repos_url":"https://api.github.com/users/weinand/repos","events_url":"https://api.github.com/users/weinand/events{/privacy}","received_events_url":"https://api.github.com/users/weinand/received_events","type":"User","site_admin":false},"open_issues":63,"closed_issues":253,"state":"open","created_at":"2016-01-18T10:26:06Z","updated_at":"2016-02-25T07:12:54Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-02-11T15:26:50Z","updated_at":"2016-02-25T07:12:54Z","closed_at":"2016-02-25T07:12:54Z","body":"- [x] win @alexandrudima \r\n- [x] mac @chrisdias  \r\n- [x] linux @joaomoreno\r\n\r\nWe have improved the `preLaunchTask` based on user feedback and feature requests. Have a `launch.json` with a `preLaunchTask` and verify:\r\n* If `preLaunchTask` produces an **error** debugging does not start and an appropriate message with an option to debug despite the error is shown\r\n* If a `preLaunchTask` is a **watching task** debugging does not start before the watching task becomes inactive\r\n* If a `tasks.json` is **missing** and a `preLaunchTask` is set we offer the user to create a `tasks.json`"}}