DEV Community

Erfan
Erfan

Posted on

Tired of manually writing launch.json files in VS Code?

Auto-generate VS Code Debug Configurations for Go, Node.js, C#, Python

Hey folks!

I just published a simple but powerful bash script that automatically generates VS Code debug configurations for popular languages like:

  • Go
  • Node.js
  • C# (.NET)
  • Python

Just run it once and it will:

  • Detect your project’s main file
  • Load environment variables from your .env
  • Generate a clean and ready-to-use .vscode/launch.json
  • Automatically install jq if missing

Super useful for solo devs, teams, and especially when setting up new projects fast.

Check it out on GitHub:

https://github.com/erfandiakoo/generate-vscode-launch

Let me know what you think, or feel free to contribute!

Top comments (1)

Collapse
 
aliakbar_zohour profile image
AliAkbar Zohour

🥲🤌🏻