edits to handling debug_adapter