Allow specifying debug in the builder.