Fix bad initialization strategy for Debug API