Skip to content

Instantly share code, notes, and snippets.

@diegovarussa
Last active July 3, 2018 02:22
Show Gist options
  • Save diegovarussa/01225ebbc7a9a7d11c92b067d3f20f33 to your computer and use it in GitHub Desktop.
Save diegovarussa/01225ebbc7a9a7d11c92b067d3f20f33 to your computer and use it in GitHub Desktop.
Create docker run image config file in PHPStorm

Go to edit configurations

image

Add new docker image

image

Configuration

Environment variables

(copy)

PHP_IDE_CONFIG=serverName=localhost
XDEBUG_CONFIG=remote_host=192.168.100.88

remote_host is your local network IP address

(paste in Environment Variables window)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment