diff --git a/tests/test_hunter.py b/tests/test_hunter.py
index <HASH>..<HASH> 100644
--- a/tests/test_hunter.py
+++ b/tests/test_hunter.py
@@ -711,7 +711,8 @@ def test_debugger(LineMatcher):
         lambda event: event.locals.get("node") == "Foobar",
         module="test_hunter",
         function="foo",
-        actions=[VarsPrinter("a", "node", "foo", "test_debugger", globals=True, stream=out),
+        actions=[CodePrinter,
+                 VarsPrinter("a", "node", "foo", "test_debugger", globals=True, stream=out),
                  Debugger(klass=FakePDB, foobar=2)]
     ):
         def foo():
Add this for figuring out failures.