def python_process_inspector(event: PodEvent, params: DebuggerParams):
    """

    Create a finding with alternative debugging options for received processes ; i.e. Stack-trace or Memory-trace.

    """
    if "debug-toolkit:v6.0" not in PYTHON_DEBUGGER_IMAGE:
        logging.error(f"The python_process_inspector action is deprecated and might not work on all platforms. "
                      f"to enable it set the PYTHON_DEBUGGER_IMAGE environment variable to debug-toolkit:v6.0.")
        return
    pod = event.get_pod()
    logging.warning(f"The python_process_inspector action is deprecated and might not work on all platforms.")
    if not pod:
        logging.info(f"advanced_debugging_options - pod not found for event: {event}")
        return
    finding = Finding(
        title=f"Advanced debugging for pod {pod.metadata.name} in namespace {pod.metadata.namespace}:",
        source=FindingSource.MANUAL,
        aggregation_key="PythonProcessInspector",
        subject=PodFindingSubject(pod),
        finding_type=FindingType.REPORT,
        failure=False,
    )

    process_finder = ProcessFinder(pod, params, ProcessType.PYTHON)
    relevant_processes_pids = process_finder.get_pids()
    if not relevant_processes_pids:
        ERROR_MESSAGE = "No relevant processes found for advanced debugging."
        logging.info(ERROR_MESSAGE)
        finding.add_enrichment([MarkdownBlock(ERROR_MESSAGE)])
    else:
        finding.add_enrichment([MarkdownBlock("Please select an advanced debugging choice:")])
        choices = {}
        for proc_pid in relevant_processes_pids:
            updated_params = params.copy()
            updated_params.process_substring = ""
            updated_params.pid = proc_pid
            choices[f"StackTrace {updated_params.pid}"] = CallbackChoice(
                action=debugger_stack_trace,
                action_params=updated_params,
                kubernetes_object=pod,
            )
        finding.add_enrichment(
            [
                CallbackBlock(choices),
                MarkdownBlock("*After clicking a button please wait up to 120 seconds for a response*"),
            ]
        )
    event.add_finding(finding)


    Create a finding with alternative debugging options for received processes ; i.e. Stack-trace or Memory-trace.

    
playbooks/robusta_playbooks/pod_troubleshooting.py