docstr: Override this hook to customize your tracer when running PythonScript with ``mode=tracer``.
docstr_tok: ["Override","this","hook","to","customize","your","tracer","when","running","PythonScript","with","``","mode=tracer","``","."]
code: def configure_tracer(self) -> Tracer:
      """Override this hook to customize your tracer when running PythonScript with ``mode=tracer``."""
      return Tracer()
  
file_path: pytorch-lightning/src/lightning/app/components/python/popen.py
imports: import os
  import signal
  import subprocess
  import sys
  from pathlib import Path
  from typing import Any, Dict, List, Optional, Union
  from lightning.app.core.work import LightningWork
  from lightning.app.utilities.app_helpers import Logger, _collect_child_process_pids
  from lightning.app.utilities.tracer import Tracer
label_desc: Use image node_id 3 for calling the PopenPythonScript obj's underlying member method code with example usage: obj.configure_tracer() and returns: Tracer