Skip to content
MAMP PRO Documentation

How to adjust Xdebug modes for better performance

  1. Open MAMP PRO.

  2. Stop the servers if they are running.

  3. Go to File › Open Template › PHP (php.ini) › [PHP version].

  4. If a dialog box appears, read it and click OK.

  5. Search for the line containing xdebug.mode= ( F). It may look like:

    xdebug.mode=develop,coverage,debug,gcstats,profile,trace
  6. Remove the modes you do not need. Removing trace in particular can significantly improve execution speed:

    xdebug.mode=develop,coverage,debug,gcstats,profile
  7. Save the file ( S).

  8. Close the editor ( W).

  9. Start the servers.


PHP how-to guides