{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular/issues/5883","labels_url":"https://api.github.com/repos/angular/angular/issues/5883/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/5883/comments","events_url":"https://api.github.com/repos/angular/angular/issues/5883/events","html_url":"https://github.com/angular/angular/issues/5883","id":122106382,"number":5883,"title":"Turn on dev mode by default in dev bundles","user":{"login":"IgorMinar","id":216296,"avatar_url":"https://avatars.githubusercontent.com/u/216296?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-14T18:54:01Z","updated_at":"2015-12-14T18:54:01Z","closed_at":null,"body":"Currently the dev and prod bundles differ only in in-lined sourcemaps. Additionally it is not obvious that you need to do something special to turn on the dev mode (I believe that there is actually more than one flag that needs to be turned on).\r\n\r\nWe should:\r\n\r\n- [ ] document how to turn on the dev mode checks - @vsavkin, @wardbell\r\n- [ ] pad the dev bundles with code that turns on the dev mode by default - @vsavking, @pkozlowski-opensource\r\n- [ ] print out a message that tells developers what mode they are in. For example \"Angular 2.0.0-alpha.53 starting in the *development* mode\". (for production, replace \"development\" with \"production\") - @vsavkin  \r\n\r\n"}}