Project:DebuggingPHPinMediawiki: Difference between revisions
From MaRDI portal
Created page with "Most of the code in MediaWiki and its extensions is written in PHP. For an overview, there are several possibilities including logs and debugging output on MediaWiki pages li..." |
No edit summary |
||
Line 9: | Line 9: | ||
Starting from portal-compose, adapt your docker-compose.override.yml as suggested in the Readme.md | Starting from portal-compose, adapt your docker-compose.override.yml as suggested in the Readme.md | ||
For troubleshooting debugging issues, going through these steps can be very helpful: | |||
* https://medium.com/advanced-xdebug-connection-issues-troubleshooting/debug-your-xdebug-advanced-troubleshooting-part-1-network-issues-25da412d0a11 | |||
* https://medium.com/advanced-xdebug-connection-issues-troubleshooting/debug-your-xdebug-advanced-troubleshooting-part-2-xdebug-settings-ef91d05dc526 |
Revision as of 13:58, 29 March 2022
Most of the code in MediaWiki and its extensions is written in PHP.
For an overview, there are several possibilities including logs and debugging output on MediaWiki pages listed here: https://www.mediawiki.org/wiki/Manual:How_to_debug
XDEBUG in Docker:
This is about to setup debugging with breakpoints etc. with xdebug.
Starting from portal-compose, adapt your docker-compose.override.yml as suggested in the Readme.md
For troubleshooting debugging issues, going through these steps can be very helpful: