Add autoselect to configs - set to false to prevent being used when no other configs are defined
This commit is contained in:
parent
1b7d0caf26
commit
93edbe468b
1 changed files with 2 additions and 1 deletions
|
|
@ -120,7 +120,8 @@ class DebugSession( object ):
|
|||
|
||||
if 'configuration' in launch_variables:
|
||||
configuration_name = launch_variables.pop( 'configuration' )
|
||||
elif len( configurations ) == 1:
|
||||
elif ( len( configurations ) == 1 and
|
||||
next( iter( configurations.values() ) ).get( "autoselect", True ) ):
|
||||
configuration_name = next( iter( configurations.keys() ) )
|
||||
else:
|
||||
configuration_name = utils.SelectFromList(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue