Debug shell partially done.