code: def test_pdb_custom_cls(
      self, pytester: Pytester, custom_debugger_hook
  ) -> None:
      p1 = pytester.makepyfile(
          """
              def test_nothing():
                  breakpoint()
          """
      )
      result = pytester.runpytest_inprocess(
          "--pdb", "--pdbcls=_pytest:_CustomDebugger", p1
      )
      result.stdout.fnmatch_lines(["*CustomDebugger*", "*1 passed*"])
      assert custom_debugger_hook == ["init", "set_trace"]
  
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 2 for calling the TestDebuggingBreakpoints obj's underlying member method code with example usage: obj.test_pdb_custom_cls(pytester, custom_debugger_hook) without return types