Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit 48cc510

Browse files
authored
Merge pull request #100 from silinternational/feature/update-debugging-instructions
Clarify/add some details in the README's debugging instructions
2 parents 105f3f0 + 6457667 commit 48cc510

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ language. If that's not done, the translation function will not utilize the tran
238238
Xdebug can be enabled by doing the following:
239239

240240
1. Define `REMOTE_DEBUG_IP` in `local.env`. This should be the IP address of your development machine, i.e. the one that
241-
is running your IDE. If you're using Linux as your Docker host, you can use 172.17.0.1 here.
241+
is running your IDE. If you're using Linux as your Docker host, you can use 172.17.0.1 here. Note that the IP address
242+
shown in your containers' logs may not be your machines actual IP address (it could be for a VM, for example).
242243
2. Map run-debug.sh into the container you wish to debug. For example:
243244
```yaml
244245
volumes:
@@ -253,7 +254,8 @@ In PhpStorm go to: Preferences > PHP > Debug > DBGp Proxy and set the following
253254
- Port: 9000
254255
255256
Set path mappings in: Preferences > PHP > Servers
256-
- Add a server and map the project folder to '/data/vendor/simplesamlphp/simplesamlphp/modules/material'
257+
- Add a server, giving it your IP address and a port of 9000, and map the project folder to
258+
'/data/vendor/simplesamlphp/simplesamlphp/modules/material'
257259
- Map other directories as needed. PhpStorm should prompt when an unrecognized path is encountered.
258260
259261
Then start listening by clicking the "listen" button on the PhpStorm toolbar.

0 commit comments

Comments
 (0)