Debug build script