Added -g flag, for debugging