A glance into a Commerce Developers Toolkit
summary
Local setup favors MacOS with Homebrew PHP/MySQL, running Elasticsearch locally and using Docker only for MySQL/Elasticsearch versions; avoid Docker for PHP on Mac because file-sync slows requests. Use Xdebug 3 with IDE listening toggled to prevent slowdowns and conditional breakpoints for specific methods. Use n98-magerun2 to create sanitized dev DB dumps (no customer data) and Blackfire to profile requests — a profile run takes ~5–6 minutes and quickly reveals SQL-in-loop and CPU hotspots. Monitor production with New Relic APM and keep Magento functional tests green.
AI-written summary · about
chapters (19)
- 0:00Introduction to developer toolkits
- 0:26Purpose of a developer toolkit
- 1:51Personalizing your toolkit
- 2:32Local development environment setup
- 5:01Ideal local dev experience
- 8:12Docker considerations and alternatives
- 10:20When to use Docker
- 12:50Docker solutions in Magento
- 13:30Essential Magento tools
- 15:40Debugging with Xdebug
- 18:49Xdebug setup and tips
- 21:35JavaScript debugging techniques
- 23:23Debugging Knockout components
- 25:50Performance profiling with Blackfire
- 27:55Blackfire setup and use
- 28:59Production monitoring with New Relic
- 30:05New Relic APM features
- 31:08Testing frameworks in Magento
- 32:11Q&A and closing remarks
