Support "multi-session" mode properly

Document remote debugging and add a test
This commit is contained in:
Ben Jackson 2020-05-15 15:18:06 +01:00 • committed by Ben Jackson
commit c6d6c7f876
12 changed files with 417 additions and 36 deletions

View file

@ -668,6 +668,14 @@ if args.update_gadget_config:
else:
all_adapters = {}
# Include "built-in" adapter for multi-session mode
all_adapters.update( {
'multi-session': {
'port': '${port}',
'host': '${host}'
},
} )
for name, gadget in GADGETS.items():
if not gadget.get( 'enabled', True ):
if ( not args.force_all