[sdb] Add an option to make debugger invokes virtual. Part of the fix for #23385.