Example launch.json file for VSCode

February 19, 2024

  • launch.json file
{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: [https://go.microsoft.com/fwlink/?linkid=830387](https://go.microsoft.com/fwlink/?linkid=830387)
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Example: emcd",
      "type": "python",
      "request": "launch",
      "program": "./examples/create-emcd-tables.py",
      "console": "integratedTerminal"
    },
    {
      "name": "Example: SovRatingsDownloader ",
      "type": "python",
      "request": "launch",
      "program": "./examples/sov-ratings-downloader-example.py",
      "console": "integratedTerminal",
      "justMyCode": false
    },
    {
      "name": "Example: Dagster SSC job ",
      "type": "python",
      "request": "launch",
      "program": "./examples/dagster-scratchpad.py",
      "console": "integratedTerminal",
      "justMyCode": true
    },
    {
      "name": "Python: Debug Tests",
      "type": "python",
      "request": "launch",
      "program": "${file}",
      "purpose": ["debug-test"],
      "console": "integratedTerminal",
      "justMyCode": false
    },
    {
      "name": "Dagster: Debug Dagit UI",
      "type": "python",
      "request": "launch",
      "module": "dagster",
      "justMyCode": true,
      "args": ["dev"],
      "envFile": "${workspaceFolder}/.env"
    }
  ]
}