shell debugging