Adds task to generate a debug file and breaks the build task into build-raw & build-min