debug in startup