add shell Debug method