Skip to content

Instantly share code, notes, and snippets.

View rwagner00's full-sized avatar

J Ryan Wagner rwagner00

View GitHub Profile
@danny-englander
danny-englander / xdebug_lando_phpstorm.md
Last active March 29, 2024 15:03 — forked from miloskroulik/xdebug_lando_phpstorm.md
How to setup xdebug + Lando + PHPstorm when using Drupal 8/9 recipe

This assumes you are using a Drupal 8 or Drupal 9 recipe and Mac OS. Also, xdebug 3.x is assumed, which is standard for Lando-provided PHP image.

Set up Lando

Example .lando.yml file can look like this:

name: xdebug-test
recipe: drupal8
config:
 webroot: web
@valvallow
valvallow / extract.sh
Created December 7, 2011 01:58
extract
#!/bin/sh
# http://d.hatena.ne.jp/jeneshicc/20110215/1297778049
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xvjf $1 ;;
*.tar.gz) tar xvzf $1 ;;
*.tar.xz) tar xvJf $1 ;;
*.bz2) bunzip2 $1 ;;