Skip to content

Commit 971bb90

Browse files
committed
Add debugpy to test HASS config
1 parent 6966466 commit 971bb90

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.vscode/launch.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
3+
"version": "0.2.0",
4+
"configurations": [
5+
{
6+
// Example of attaching to local debug server
7+
"name": "Python: Attach Local",
8+
"type": "python",
9+
"request": "attach",
10+
"port": 5678,
11+
"host": "localhost",
12+
"pathMappings": [
13+
{
14+
"localRoot": "${workspaceFolder}",
15+
"remoteRoot": "."
16+
}
17+
],
18+
}
19+
]
20+
}

test_hass/configuration.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ logger:
77
# Loads default set of integrations. Do not remove.
88
default_config:
99

10+
debugpy:
11+
1012
http:
1113
server_port: 9123
1214

0 commit comments

Comments
 (0)