Vscode Setup
Python debug config
Assume the module name is schema
, this configuration allow the debug to recognize relative import correctly
{
"name": "Python: Module",
"type": "python",
"request": "launch",
"module": "schema.${fileBasenameNoExtension}",
"justMyCode": true,
"envFile": "${workspaceFolder}/.env"
},