7

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?

1 Answer 1

21

Figured out the way to do it.

  1. In VS Code, click on Debug button:

    enter image description here

  2. In the Debug toolbar on top, click Configure button:

    enter image description here

  3. 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.

    enter image description here

Selecting one of the debuggers creates .vscode folder (if it did not exist) and saves the file launch.json in it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.