Showing the same errors as chrome

When something doesn’t work it doesn’t show up in the ide console. But when I try running in browser, the chrome console actually tells me what the error is.

How do I show the same errors as chrome does in the IDE console.

I found out how to do this and it has nothing to do with Code IDE.

http://cocos2d-x.org/docs/manual/framework/html5/v3/project-json/en has the different settings you can add to project.json

For me, I changed debugMode to 3.

    "debugMode" : 3