Debug_shell not working

This might give some ideas.