Allow PID to be set by variables, e.g. shell
This commit is contained in:
parent
8d4ec3f53a
commit
74eb94fe53
1 changed files with 4 additions and 2 deletions
|
|
@ -605,8 +605,10 @@ class DebugSession( object ):
|
|||
self._outputView.RunJobWithOutput( 'Remote', cmd )
|
||||
else:
|
||||
if atttach_config[ 'pidSelect' ] == 'ask':
|
||||
pid = utils.AskForInput( 'Enter PID to attach to: ' )
|
||||
launch_config[ atttach_config[ 'pidProperty' ] ] = pid
|
||||
prop = atttach_config[ 'pidProperty' ]
|
||||
if prop not in launch_config:
|
||||
pid = utils.AskForInput( 'Enter PID to attach to: ' )
|
||||
launch_config[ prop ] = pid
|
||||
return
|
||||
elif atttach_config[ 'pidSelect' ] == 'none':
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue