totara / totara-docker-dev

A docker setup to create a development environment for Totara Learn
MIT License
49 stars 31 forks source link

Fix debug container memory usage and slow xdebug performance #293

Closed derschatta closed 1 week ago

derschatta commented 1 week ago

Do build and test the images:

  1. Check out the changes
  2. Run tbuild php-8.3-debug (or any of the other versions)
  3. After the build run tup php-8.3-debug to recreate and start the container=
  4. Enable the performance debugging/footer in the config.php
  5. Open a page, e.g. the dashboard after logging in
  6. It should load (no memory issues) and it should be fast (within 1-2s), not like 20s.