add spy to debugger