Add debug option for fix command