mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Deprecate ptvsd integration (#42351)
This commit is contained in:
parent
029963dfc2
commit
55a4aba9ae
@ -36,6 +36,10 @@ CONFIG_SCHEMA = vol.Schema(
|
|||||||
|
|
||||||
async def async_setup(hass: HomeAssistantType, config: ConfigType):
|
async def async_setup(hass: HomeAssistantType, config: ConfigType):
|
||||||
"""Set up ptvsd debugger."""
|
"""Set up ptvsd debugger."""
|
||||||
|
_LOGGER.warning(
|
||||||
|
"ptvsd is deprecated and will be removed in Home Assistant Core 0.120."
|
||||||
|
"The debugpy integration can be used as a full replacement for ptvsd"
|
||||||
|
)
|
||||||
|
|
||||||
# This is a local import, since importing this at the top, will cause
|
# This is a local import, since importing this at the top, will cause
|
||||||
# ptvsd to hook into `sys.settrace`. So does `coverage` to generate
|
# ptvsd to hook into `sys.settrace`. So does `coverage` to generate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user