2

When I installed Visual Studio Code I configured it for Python. Now when I try to use it for Node.js it still thinks I am trying to debug Python.

Also it is stuck on the original launch.json file from another directory. I tried adding a configuration for Node.js, but Visual Studio Code is still using the Python launch configuration in the other directory.

Additionally the Debug pick list only has options for Python. I looked at Launch.json in Visual Studio Code, but it doesn't solve my problem.

Language Picklist

I need help because I've been tasked to start learning Node.js.

1 Answer 1

0

In order to get Visual Studio Code to debug JavaScript, delete the .vscode folder which deletes the launch.json file.

For some reason, Visual Studio Code remembers the last launch.json file and tries to use 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.