Is there an “immediate window” in Visual Studio Code to run Javascript?

前端 未结 5 2118
予麋鹿
予麋鹿 2020-12-28 15:02

Yes, I use F12 in the browser all the time to test out Javascript snippets with the console. I\'m tired of that (for the moment anyway).

I\'ve read that in Visual St

5条回答
  •  灰色年华
    2020-12-28 15:56

    As of (at least) my current version of VS Code (1.5.2), the "Debug Console", while debugging, lets you run arbitrary JavaScript code as you would in the VS Immediate Window. (Similar to as you would for the Chrome Dev Tools Console.)

提交回复
热议问题