Skip to content

Commit 59bd017

Browse files
committed
temp: VS Code can do more magic introspection if you tell it that this debug task is Django
1 parent 25a2d1f commit 59bd017

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.vscode/launch.json.example

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515

1616
// This is needed because pytest-cov is incompatible with using the
1717
// debugger. See https://code.visualstudio.com/docs/python/testing#_pytest-configuration-settings
18-
"env": {"PYTEST_ADDOPTS": "--no-cov"}
18+
"env": {"PYTEST_ADDOPTS": "--no-cov"},
19+
20+
// Adds some magic for Django templates.
21+
"django": true
1922
}
2023
]
2124
}

0 commit comments

Comments
 (0)