mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Fix DebugSession to match the new CLI syntax.
This commit is contained in:
parent
c7ee9277f3
commit
1c6c71d4b9
1 changed files with 3 additions and 2 deletions
|
|
@ -133,10 +133,11 @@ class DebugSession(object):
|
|||
argv += ['-m', 'ptvsd']
|
||||
|
||||
if self.method == 'attach_socket':
|
||||
argv += ['--port', str(self.ptvsd_port), '--wait']
|
||||
argv += ['--wait']
|
||||
else:
|
||||
self._listen()
|
||||
argv += ['--host', 'localhost', '--port', str(self.ptvsd_port)]
|
||||
argv += ['--client']
|
||||
argv += ['--host', 'localhost', '--port', str(self.ptvsd_port)]
|
||||
|
||||
if self.multiprocess:
|
||||
argv += ['--multiprocess']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue