To enable debugging by attaching the python debugger to the hass process I added a launch config for vscode + the debugpy option to home assistant configuration. Please consider for merging as this also simplifies the setup of a dev environment and does not significantly impact the performance of hass on the test environment:
Added configuration "debugpy" to hass config
Added launch.json file with basic debugger attaching config
The created launch configuration allows attaching a python debugger to
any of the running processes. The list of processes is provided by
vscode when launching the configuration from the IDE.
To enable debugging by attaching the python debugger to the hass process I added a launch config for vscode + the debugpy option to home assistant configuration. Please consider for merging as this also simplifies the setup of a dev environment and does not significantly impact the performance of hass on the test environment:
The created launch configuration allows attaching a python debugger to any of the running processes. The list of processes is provided by vscode when launching the configuration from the IDE.