Allow selecting a specific launch config on LaunchWithSettings
This commit is contained in:
parent
6ad172aef7
commit
12df3c53a2
2 changed files with 4 additions and 2 deletions
|
|
@ -94,7 +94,9 @@ class DebugSession( object ):
|
|||
|
||||
adapters.update( database.get( 'adapters' ) or {} )
|
||||
|
||||
if len( configurations ) == 1:
|
||||
if 'configuration' in launch_variables:
|
||||
configuration_name = launch_variables.pop( 'configuration' )
|
||||
elif len( configurations ) == 1:
|
||||
configuration_name = next( iter( configurations.keys() ) )
|
||||
else:
|
||||
configuration_name = utils.SelectFromList(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue