Reputation: 1798
I have an Angular2+ project and I need to create launch.json file inside of .vscode folder that is supposed to be immediately under my Angular project folder. I do not see .vscode folder.
I can create it with the command prompt but I wonder why do I not have one in my project when the instructions I am following assume it should be there already?
Upvotes: 7
Views: 8698
Reputation: 1798
Figured out the way to do it.
In VS Code, click on Debug button:
In the Debug toolbar on top, click Configure button:
The popup will appear under VS Code toolbar, asking which debugger you want to use. Select one from the list. Node.js debugger is built into VS Code. I installed Chrome debugger and it shows up in the list.
Selecting one of the debuggers creates .vscode folder (if it did not exist) and saves the file launch.json in it.
Upvotes: 21