Optimize container initialization using debug mode on