r/VisualStudioCode • u/Smeagol_x_loops • Jan 05 '23
Debug won't work in VSC
Hello! I really need a piece of advice and I don't know who to ask really. I'm new to coding and Visual studio in general (started programming basics course with js a couple of months ago) and I need help, because I don't understand much about it at this rate. VSC was running fine until a couple of days ago, when I got interested in Unity and figured I'd need C# in order to get into that, so I downloaded .net framework and plugins in order to be able to code in VSC. I have no idea what happened, but I'm not able to debug, sometimes I don't get an output in the console and I'm overall really worried, because my course starts again in a couple of days and I won't be able to code using js. I changed the folder that the files get stored in, I uninstalled the plugins, uninstalled VSC and downloaded it again but nothing works. I took a screenshot of the error message that pops up when i try to pick node.js for the debbuger. Please if anyone can give any sort of advice it will be greatly appreciated!
View all comments
Show parent comment
2
u/jt25617 Jan 06 '23
Try reading this: https://code.visualstudio.com/docs/nodejs/debugging-recipes