MCPcopy Create free account
hub / github.com/microsoft/debugpy / detach_from_session

Method detach_from_session

src/debugpy/adapter/servers.py:359–364  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

357 self.channel.close()
358
359 def detach_from_session(self):
360 with _lock:
361 self.is_connected = False
362 self.channel.handlers = self.connection
363 self.channel.name = self.channel.stream.name = str(self.connection)
364 self.connection.server = None
365
366 def disconnect(self):
367 if self.connection.process_replaced:

Callers 1

_finalizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected