code: def test_pdb_set_trace_kwargs(self, pytester: Pytester) -> None:
      p1 = pytester.makepyfile(
          """
              import pytest
              def test_1():
                  i = 0
                  print("hello17")
                  pytest.set_trace(header="== my_header ==")
                  x = 3
                  assert 0
          """
      )
      child = pytester.spawn_pytest(str(p1))
      child.expect("== my_header ==")
      assert "PDB set_trace" not in child.before.decode()
      child.expect("Pdb")
      child.sendline("c")
      rest = child.read().decode("utf-8")
      assert "1 failed" in rest
      assert "def test_1" in rest
      assert "hello17" in rest  # out is captured
      self.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 20 for calling the TestPDB obj's underlying member method code with example usage: obj.test_pdb_set_trace_kwargs(pytester) without return types