File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,4 +49,16 @@ With the `-r` option you can force a rebuild of the containers.
4949## Debugging
5050The container has XDebug installed and configured.
5151
52+ ### PhpStorm
5253
54+ The easiest way to develop and debug using PhpStorm is to use the remote interpreter feature:
55+ 1 . Go to ` Settings ` > ` PHP ` > ` CLI Interpreter `
56+ 2 . Add a new Docker Compose interpreter
57+ 3 . If you have not already done so, add the Docker Server you are using under Server
58+ 4 . Configuration file is the ` docker-compose.yaml ` file in the root of this project
59+ 5 . Service is ` ssp `
60+ 6 . Choose to connect to the existing container
61+
62+ To trace though e.g. the simplesaml php code, start the container with the dev-start.sh script.
63+ This copies the contents of the /var/www directory in the container to the container/var/www directory on the host.
64+ Then you can map e.g. the container/var/www/simplesaml/src to the remote /var/www/simplesaml/src directory in PhpStorm.
You can’t perform that action at this time.
0 commit comments