diff --git a/.vscode/launch.json b/.vscode/launch.json index 7b77a1c9bfd..15cdb9fb625 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -42,6 +42,14 @@ "--picked" ], }, + { + "name": "Home Assistant: Debug Current Test File", + "type": "debugpy", + "request": "launch", + "module": "pytest", + "console": "integratedTerminal", + "args": ["-vv", "${file}"] + }, { // Debug by attaching to local Home Assistant server using Remote Python Debugger. // See https://www.home-assistant.io/integrations/debugpy/ @@ -77,4 +85,4 @@ ] } ] -} \ No newline at end of file +}