Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I open the 'launch.json' file in Visual Studio Code?

I am a new programmer that started learning Python, but there's something bothering me which I'd like to change.

As I've seen that it is possible to remove the unwanted path from the terminal when executing code, I cannot figure out how to access the Visual Studio Code launch.json file and all of the explanations on Google are quite confusing.

like image 622
xorg Avatar asked Dec 03 '25 18:12

xorg


1 Answers

Note that if Visual Studio Code hasn't created a launch.json file for your project yet, do the following:

  • Click the Run | Add Configuration menu option, and one will automatically be generated for you, and opened in the editor.

NOTE: You have to have a "Folder" open, for this to work. File | Open Folder...

like image 158
Brad Parks Avatar answered Dec 07 '25 05:12

Brad Parks