debug for compile.sh