code: def setUp(self) -> None:
      super().setUp()
      # We don't want the main process (rank -1) to initialize the communicator
      if self.rank >= 0:
          crypten.init()
  
          # Testing debug mode
          cfg.debug.debug_mode = True
          cfg.debug.validation_mode = True
  
file_path: CrypTen/test/test_debug.py
imports: import crypten
  import torch
  from crypten.config import cfg
  from crypten.debug import configure_logging, pdb
  from test.multiprocess_test_case import get_random_test_tensor, MultiProcessTestCase
label_desc: Use image node_id 1 for calling the TestDebug obj's underlying member method code with example usage: obj.setUp() without return types