Add debug to bridge