Allow debugging of integration dependancies (#49211)

This commit is contained in:
Khole 2021-04-14 18:26:37 +01:00 committed by GitHub
parent 81d46828ad
commit 8ce74e598d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

11
.vscode/launch.json vendored
View File

@ -9,11 +9,8 @@
"type": "python", "type": "python",
"request": "launch", "request": "launch",
"module": "homeassistant", "module": "homeassistant",
"args": [ "justMyCode": false,
"--debug", "args": ["--debug", "-c", "config"]
"-c",
"config"
]
}, },
{ {
// Debug by attaching to local Home Asistant server using Remote Python Debugger. // Debug by attaching to local Home Asistant server using Remote Python Debugger.
@ -28,7 +25,7 @@
"localRoot": "${workspaceFolder}", "localRoot": "${workspaceFolder}",
"remoteRoot": "." "remoteRoot": "."
} }
], ]
}, },
{ {
// Debug by attaching to remote Home Asistant server using Remote Python Debugger. // Debug by attaching to remote Home Asistant server using Remote Python Debugger.
@ -43,7 +40,7 @@
"localRoot": "${workspaceFolder}", "localRoot": "${workspaceFolder}",
"remoteRoot": "/usr/src/homeassistant" "remoteRoot": "/usr/src/homeassistant"
} }
], ]
} }
] ]
} }