mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Fix #2038: Unable to attach docker with version 5
Fix ptvsd.adapter to respect the --host command-line switch again.
This commit is contained in:
parent
74ff526c90
commit
2695b3f10f
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ def main(args):
|
|||
else:
|
||||
endpoints = {"server": {"host": server_host, "port": server_port}}
|
||||
try:
|
||||
ide_host, ide_port = ide.listen(port=args.port)
|
||||
ide_host, ide_port = ide.listen(host=args.host, port=args.port)
|
||||
except Exception as exc:
|
||||
if args.for_server is None:
|
||||
raise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue