Skip to content

Instantly share code, notes, and snippets.

@dhaley
Last active December 24, 2015 14:29
Show Gist options
  • Save dhaley/6812656 to your computer and use it in GitHub Desktop.
Save dhaley/6812656 to your computer and use it in GitHub Desktop.
emacs geben xdebug of drush.php context of DRUSH_PIPE
[-] Locals
|-[-] $cache[59]
| |- argc 2
| |-[-] argv[2]
| | |- 0 /Users/daha1836/src/drush/drush.php
| | `- 1 --version
| |- DRUSH_BOOTSTRAP_PHASE 0
| |- process[0]
| |-[-] cli[1]
| | `- version true
| |- stdin[0]
| |- specific[0]
| |- alias[0]
| |- custom[0]
| |- site[0]
| |- drupal[0]
| |- user[0]
| |- home.drush[0]
| |- system[0]
| |- drush[0]
| |- default[0]
| |-[+] DRUSH_LOG[10]
| |- DRUSH_LOG_CALLBACK _drush_print_log
| |- DRUSH_BACKEND[0]
| |- DRUSH_NOCOLOR true
| |- DRUSH_VERBOSE false
| |- DRUSH_DEBUG[0]
| |- DRUSH_GLOBAL_CLI_OPTIONS[0]
| |-[-] arguments[1]
| | `- 0 version
| |-[-] DRUSH_COMMAND_FILES[45]
| | |- archive /Users/daha1836/src/drush/commands/core/archive.drush.inc
| | |- cache /Users/daha1836/src/drush/commands/core/cache.drush.inc
| | |- clone /Users/daha1836/.drush/cu_drush_commands/clone.drush.inc
| | |- coder /Users/daha1836/.drush/coder/coder.drush.inc
| | |- coder_review /Users/daha1836/.drush/coder/coder_review/coder_review.drush.inc
| | |- config /Users/daha1836/src/drush/commands/core/config.drush.inc
| | |- core /Users/daha1836/src/drush/commands/core/core.drush.inc
| | |- docs /Users/daha1836/src/drush/commands/core/docs.drush.inc
| | |- drupalcs /Users/daha1836/.drush/coder/coder_sniffer/drupalcs.drush.inc
| | |- druplicon /Users/daha1836/src/drush/commands/core/druplicon.drush.inc
| | |- drush_zsh /Users/daha1836/.drush/drush_zsh.drush.inc
| | |- dslm /Users/daha1836/.drush/dslm/dslm.drush.inc
| | |- emacs /Users/daha1836/.drush/emacs_drush/emacs.drush.inc
| | |- field /Users/daha1836/src/drush/commands/core/field.drush.inc
| | |- help /Users/daha1836/src/drush/commands/core/help.drush.inc
| | |- image /Users/daha1836/src/drush/commands/core/image.drush.inc
| | |- init_fit /Users/daha1836/.drush/cu_drush_commands/init_fit.drush.inc
| | |- initialize_settings_files /Users/daha1836/.drush/cu_drush_commands/initialize_settings_files.drush.inc
| | |- make /Users/daha1836/src/drush/commands/make/make.drush.inc
| | |- mattitude /Users/daha1836/.drush/cu_drush_commands/mattitude.drush.inc
| | |- module_builder /Users/daha1836/.drush/module_builder/drush/module_builder.drush.inc
| | |- notify /Users/daha1836/src/drush/commands/core/notify.drush.inc
| | |- outputformat /Users/daha1836/src/drush/commands/core/outputformat.drush.inc
| | |- permissions /Users/daha1836/.drush/drush_permissions/permissions.drush.inc
| | |- php_cli /Users/daha1836/.drush/drush-php-cli/php_cli.drush.inc
| | |- pm /Users/daha1836/src/drush/commands/pm/pm.drush.inc
| | |- queue /Users/daha1836/src/drush/commands/core/queue.drush.inc
| | |- rebuild_project_paths /Users/daha1836/.drush/Drush-Rebuild-Project-Paths/rebuild_project_paths.drush.inc
| | |- registry_rebuild /Users/daha1836/.drush/registry_rebuild/registry_rebuild.drush.inc
| | |- role /Users/daha1836/src/drush/commands/core/role.drush.inc
| | |- runserver /Users/daha1836/src/drush/commands/runserver/runserver.drush.inc
| | |- sandwich /Users/daha1836/.drush/sandwich/sandwich.drush.inc
| | |- search /Users/daha1836/src/drush/commands/core/search.drush.inc
| | |- secure_permissions_export /Users/daha1836/.drush/cu_drush_commands/secure_permissions_export.drush.inc
| | |- shellalias /Users/daha1836/src/drush/commands/core/shellalias.drush.inc
| | |- site_install /Users/daha1836/src/drush/commands/core/site_install.drush.inc
| | |- sitealias /Users/daha1836/src/drush/commands/core/sitealias.drush.inc
| | |- sql /Users/daha1836/src/drush/commands/sql/sql.drush.inc
| | |- ssh /Users/daha1836/src/drush/commands/core/ssh.drush.inc
| | |- test /Users/daha1836/src/drush/commands/core/test.drush.inc
| | |- topic /Users/daha1836/src/drush/commands/core/topic.drush.inc
| | |- usage /Users/daha1836/src/drush/commands/core/usage.drush.inc
| | |- user /Users/daha1836/src/drush/commands/user/user.drush.inc
| | |- variable /Users/daha1836/src/drush/commands/core/variable.drush.inc
| | `- watchdog /Users/daha1836/src/drush/commands/core/watchdog.drush.inc
| |- DRUSH_NEGATIVE false
| |- DRUSH_AFFIRMATIVE false
| |- DRUSH_SIMULATE false
| |- DRUSH_DRUPAL_ROOT[0]
| |- DRUSH_OLDCWD /Users/daha1836/src/drush
| |- DRUSH_SELECTED_DRUPAL_ROOT false
| |- DRUSH_SELECTED_URI http://default
| |- DRUSH_SELECTED_DRUPAL_SITE_CONF_PATH null
| |- DRUSH_BOOTSTRAP_ERRORS[0]
| |- DRUSH_BOOTSTRAP_VALUES[0]
| |- DRUSH_BOOTSTRAP_VALIDATION_PHASE 0
| |- DRUSH_BOOTSTRAPPING false
| |- DRUSH_ERROR_CODE 0
| |-[-] site-aliases[1]
| | `-[-] @none[3]
| | |- root
| | |- uri
| | `- #name none
| |- DRUSH_COLUMNS 80
| |- DOC_PREFIX /Users/daha1836/src/drush
| |-[-] ALIAS_PATH[3]
| | |- 0 /etc/drush
| | |- 1 /Users/daha1836/src/drush/includes/..
| | `- 2 /Users/daha1836/.drush
| |- ETC_PREFIX
| |- SHARE_PREFIX /usr
| |- DRUSH_SITE_WIDE_CONFIGURATION /etc/drush
| |- DRUSH_SITE_WIDE_COMMANDFILES /usr/share/drush/commands
| |- DRUSH_PER_USER_CONFIGURATION /Users/daha1836/.drush
| |- DRUSH_CONFIG[0]
| |- shell-aliases[0]
| |- DRUSH_TARGET_SITE_ALIAS[0]
| |- DRUSH_INCLUDE false
| |-[+] DRUSH_COMMANDS[250]
| |-[+] command[30]
| |- command-specific[0]
| |- DRUSH_QUIET null
| |- DRUSH_PIPE[0]
| |-[+] outputformat_engine_key-value_(drush_outputformat_key_value)
| |-[+] outputformat_engine(drush_outputformat_key_value)
| `- BACKEND_RESULT[0]
|- $context DRUSH_PIPE
`- $default null
[-] Superglobals
|- $_COOKIE[0]
|-[+] $_ENV[21]
|- $_FILES[0]
|- $_GET[0]
|- $_POST[0]
|- $_REQUEST[0]
|-[+] $_SERVER[29]
`-[+] $GLOBALS[16]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment