How to display console.log output in Visual Studio Code for html?

后端 未结 2 1465
暗喜
暗喜 2021-01-11 14:56

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

相关标签:
2条回答
  • 2021-01-11 15:45

    You could create an index.html and link to your .js in head then use Live Server with an "undock separate window."

    0 讨论(0)
  • 2021-01-11 15:55

    debugger-for-chrome can solve the problem. Check this link. It shows how to do that https://code.visualstudio.com/Docs/editor/debugging

    0 讨论(0)
提交回复
热议问题