Add debug launch configuration for current open test file (#137177)

pull/138964/head
proohit 2025-02-21 00:32:17 +01:00 committed by GitHub
parent 9cbed483fb
commit 9105542bab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 1 deletions

10
.vscode/launch.json vendored
View File

@ -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 @@
]
}
]
}
}