Can vscode enter js code and display the results directly like the chrome debug window?

can vscode directly enter js code and display results like a chrome debug window? It is not displayed through the browser. Is there such a plug-in?


can be, but it is troublesome to set up. I was reading the link


from this blog post at that time.

two ways:

  1. < kbd > Ctrl + `< / kbd > Open the terminal and enter node
  2. configure the debugging process. The debugging process can be configured in 2: one is to debug chrome, and the other is to debug nodejs.

you can try the plug-in code-runner and set up the currently running language.


run the program with debug

Menu