code: def __init__(
      self, folder: Path, submission: DelayedSubmission
  ) -> None:
      job_id = f"DEBUG_{id(submission)}"
      super().__init__(folder=folder, job_id=job_id)
      self._submission = submission
      self.cancelled = False
      self.environ = dict(os.environ)
      self.environ["SUBMITIT_DEBUG_JOB_ID"] = self.job_id
  
imports: import logging
  import os
  import typing
  from pathlib import Path
  from typing import Dict, List, Optional, Union
  from ..core.core import Executor, InfoWatcher, Job, R
  from ..core.job_environment import JobEnvironment
  from ..core.utils import DelayedSubmission, UncompletedJobError
label_desc: Use image node_id 1 to create a new DebugJob object from inherited base classes: Job with example: obj = DebugJob(folder, submission)