using -s to debug