Skip to content

Instantly share code, notes, and snippets.

View maclonghorn's full-sized avatar

Mark Macatee maclonghorn

  • Power 10 Solutions
View GitHub Profile
@maclonghorn
maclonghorn / gist:2a6d2e44c2f421107a640e10fcf7ca61
Created March 14, 2024 14:22
Setting up PhpStorm with Xdebug for local development on Docker
Install Xdebug
Install the extension via pecl (only for the local target):
# infrastructure/fpm/local/Dockerfile
&& apk add --no-cache --update tzdata linux-headers libxml2-dev postgresql-dev libpq \
# Install Xdebug via pecl (only for the local target)
&& pecl install -f xdebug && docker-php-ext-enable xdebug \

Keybase proof

I hereby claim:

  • I am maclonghorn on github.
  • I am maclonghorn (https://keybase.io/maclonghorn) on keybase.
  • I have a public key ASBoIzwB9yrDFcEXlpRg6qZbR0n_F8rvd4SE3sZZ1yBEBQo

To claim this, I am signing this object: