The method of starting a project with vscode
This article is about how to start a project with vscode. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
First install the debugger, commonly used are Debugger for Firefox and Debugger for Chrome, you can search for the installation directly.
Open the project, at this time, there is no browser configured
Select add configuration and follow the prompts to add. After the addition is completed, a configuration file launch.json about the browser is automatically generated
In the configuration file, change the port to 4200. The default startup port for ng serve is 4200. After starting the service through ng serve, you can directly click to run the project.
Done!
Thank you for reading! The method of starting the project on vscode is shared here. I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.