{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/46197","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/46197/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/46197/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/46197/events","html_url":"https://github.com/Microsoft/vscode/issues/46197","id":306960562,"number":46197,"title":"Automatically start debugger when adding a breakpoint","user":{"login":"garygreen","id":1702638,"avatar_url":"https://avatars2.githubusercontent.com/u/1702638?v=4","gravatar_id":"","url":"https://api.github.com/users/garygreen","html_url":"https://github.com/garygreen","followers_url":"https://api.github.com/users/garygreen/followers","following_url":"https://api.github.com/users/garygreen/following{/other_user}","gists_url":"https://api.github.com/users/garygreen/gists{/gist_id}","starred_url":"https://api.github.com/users/garygreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garygreen/subscriptions","organizations_url":"https://api.github.com/users/garygreen/orgs","repos_url":"https://api.github.com/users/garygreen/repos","events_url":"https://api.github.com/users/garygreen/events{/privacy}","received_events_url":"https://api.github.com/users/garygreen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-20T17:16:29Z","updated_at":"2018-03-20T17:16:29Z","closed_at":null,"author_association":"NONE","body":"When you add a breakpoint, it would make sense for the debugger to automatically start.\r\n\r\nThis could be provided thru a new config option which specifies which debugger to start when adding a breakpoint in the file:\r\n\r\n```\r\n\"debugger.autoStartWhenBreakpointAdded\": {\r\n    \"php\": \"Listen for XDebug\",\r\n    \"js\": \"Launch Chrome\"\r\n}\r\n```\r\n\r\nI know there is a keyboard shortcut to start the debugger (F5 by default), but this saves that extra step and aligns more closely with Chrome where when you add a breakpoint it automatically \"starts\" - no need to start it manually.\r\n"}}
{"actor":{"display_login":"garygreen"}}