Set Xdebug properly inside the Docker image
Bug discovery
-
The issue is present in the latest release. -
I have searched the issues of this repository and believe that this is not a duplicate.
😯
Current Behavior xDebug is not working for now. PHPStorm is able to detect it from the Docker container, but it cannot connect to it. Also, weird non-blocking error message related to xDebug come up when we use the php interpreter inside the docker container.
Example of the message:
Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so: cannot open shared object file: No such file or directory
🤔
Expected Behavior xDebug should be working and able to be connected with PHPStorm to enable the debugging tools.
🕹
Steps to Reproduce Steps:
- Execute any command with the php interpreter inside the PVA2 app container.
- Check the bash prompt