Home  >  Article  >  Development Tools  >  How to write nodejs with vscode

How to write nodejs with vscode

藏色散人
藏色散人Original
2020-03-17 09:12:157453browse

How to write nodejs with vscode

How to write nodejs with vscode?

First open the VSCode software, click to open the folder, as shown below

Recommended learning: vscode tutorial

How to write nodejs with vscode

##Then create a new folder to save the node.js file, as shown in the figure below

How to write nodejs with vscode

Then create a new js file under the folder, as shown in the figure below

How to write nodejs with vscode

Then enter the Nodejs code in JS, as shown in the picture below

How to write nodejs with vscode

Next switch to debugging and click on the top Settings button, as shown in the figure below

How to write nodejs with vscode

Then select the node.js option in the drop-down list that appears, as shown in the figure below

How to write nodejs with vscode

Then modify the default startup file of nodejs, as shown in the figure below

How to write nodejs with vscode

Finally click the startup button at the top, as shown in the figure below

How to write nodejs with vscode

The above is the detailed content of How to write nodejs with vscode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn