-
Notifications
You must be signed in to change notification settings - Fork 148
Description
When I try to run the debugger I get an error, in this line:
import debugpy
debugpy.listen("0,0,0,0",5678)
I change to:
debugpy.listen(5678)
And finally, it works ok.
This was taken verbatim from the help of the debugpy.listen function, which says:"
(function) def listen(
__endpoint: Endpoint | int,
*,
in_process_debug_adapter: bool = False
) -> Endpoint
Starts a debug adapter debugging this process, that listens for incoming socket connections from clients on the specified address.
__endpoint must be either a (host, port) tuple as defined by the standard socket module for the AF_INET address family, or a port number. If only the port is specified, host is "127.0.0.1"."
My environment:
OS: Windows 11 PRO
Docker version: 24.0.2, build cb74dfc
VSCode: 1.80.2