debug build script