why this mock debug is needed? is that really different than the real debug?