Add debug parameter to build_helper script.