When I used brackets, there was a plugin to display console.log output in a panel below the source code panel, so I don\'t need switch to chrome and press F12 t
console.log
You could create an index.html and link to your .js in head then use Live Server with an "undock separate window."
debugger-for-chrome can solve the problem. Check this link. It shows how to do that https://code.visualstudio.com/Docs/editor/debugging
debugger-for-chrome