Add shell debugging with CEDAR_SHELL_DEBUG