code: def test_trace_sets_breakpoint(self, pytester: Pytester) -> None:
      p1 = pytester.makepyfile(
          """
              def test_1():
                  assert True
  
              def test_2():
                  pass
  
              def test_3():
                  pass
              """
      )
      child = pytester.spawn_pytest("--trace " + str(p1))
      child.expect("test_1")
      child.expect("Pdb")
      child.sendline("c")
      child.expect("test_2")
      child.expect("Pdb")
      child.sendline("c")
      child.expect("test_3")
      child.expect("Pdb")
      child.sendline("q")
      child.expect_exact("Exit: Quitting debugger")
      rest = child.read().decode("utf8")
      assert "= 2 passed in" in rest
      assert "reading from stdin while output" not in rest
      # Only printed once - not on stderr.
      assert "Exit: Quitting debugger" not in child.before.decode(
          "utf8"
      )
      TestPDB.flush(child)
  
imports: import os
  import sys
  from typing import List
  import _pytest._code
  import pytest
  from _pytest.debugging import _validate_usepdb_cls
  from _pytest.monkeypatch import MonkeyPatch
  from _pytest.pytester import Pytester
label_desc: Use image node_id 1 for calling the TestTraceOption obj's underlying member method code with example usage: obj.test_trace_sets_breakpoint(pytester) without return types