is_client_connected

debugpy.is_client_connected() bool

True if a client is connected to the debug adapter that is debugging this process.