Debugger keeps disappearing with python plugin

ERROR [hosted-plugin: 56567] Promise rejection not handled in one second: Error: the debug session connection is disposed, id: 4373ff0d-cd96-4349-8f03-1e739f29134e root ERROR [hosted-plugin: 56567] With stack trace: Error: the debug session connection is disposed, id: 4373ff0d-cd96-4349-8f03-1e739f29134e

Here is the repo to replicate this issue. Thanks

[original thread by Gurpreet Singh]

[Anatoliy Bazko]

The error in question happens when debug session is over.

Please file an issue with steps to reproduce.

[Gurpreet Singh]

Thanks will log an issue.