Run Dagit UI in Debug Mode on VSCode

June 11, 2023

Add the following to .vscode/launch.json:

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Dagster: Debug Dagit UI",
      "type": "python",
      "request": "launch",
      "module": "dagster",
      "justMyCode": true,
      "args": ["dev"],
      "envFile": "${workspaceFolder}/.env"
    }
  ]
}