Project:DebuggingPHPinMediawiki

From MaRDI portal
Revision as of 14:58, 29 March 2022 by Johannes (talk | contribs)

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: