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

Function serve

src/debugpy/adapter/clients.py:781–785  ·  view source on GitHub ↗
(host, port)

Source from the content-addressed store, hash-verified

779
780
781def serve(host, port):
782 global listener
783 listener = sockets.serve("Client", Client, host, port)
784 sessions.report_sockets()
785 return sockets.get_address(listener)
786
787
788def stop_serving():

Callers

nothing calls this directly

Calls 2

report_socketsMethod · 0.80
get_addressMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…