code: def test_paths_debug():
      names = [
          "JUPYTER_PREFER_ENV_PATH",
          "JUPYTER_NO_CONFIG",
          "JUPYTER_CONFIG_PATH",
          "JUPYTER_CONFIG_DIR",
          "JUPYTER_PATH",
          "JUPYTER_DATA_DIR",
          "JUPYTER_RUNTIME_DIR",
      ]
      output = get_jupyter_output(["--paths", "--debug"])
      for v in names:
          assert f"{v} is not set" in output
  
      with patch.dict("os.environ", [(v, "y") for v in names]):
          output = get_jupyter_output(["--paths", "--debug"])
      for v in names:
          assert f"{v} is set" in output
  
imports: from __future__ import annotations
  import json
  import os
  import sys
  import sysconfig
  from subprocess import PIPE, CalledProcessError, check_output
  from unittest.mock import patch
  import pytest
  from jupyter_core import __version__
  from jupyter_core.command import list_subcommands
  from jupyter_core.paths import jupyter_config_dir, jupyter_config_path, jupyter_data_dir, jupyter_path, jupyter_runtime_dir
label_desc: Use image node_id 11 for calling a global function with example usage: test_paths_debug() without return types