add graphical debugging