Added a leaf finder to the debugger