VSCode launch script configuration

March 1, 2022

  • VSCode launch script for FastAPI services, running this will run the script in debug mode
  • full list of attributes - link
.vscode/launch.json
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "python", // required
      "request": "launch", // required
      "name": "Run FastAPI", // required
      "program": "main.py",
      "console": "integratedTerminal"
    }
  ]
}