code: def test_pdb_used_outside_test(self, pytester: Pytester) -> None:
      p1 = pytester.makepyfile(
          """
              import pytest
              pytest.set_trace()
              x = 5
          """
      )
      child = pytester.spawn(f"{sys.executable} {p1}")
      child.expect("x = 5")
      child.expect("Pdb")
      child.sendeof()
      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 31 for calling the TestPDB obj's underlying member method code with example usage: obj.test_pdb_used_outside_test(pytester) without return types