Nemanja Cimbaljevic

Nemanja Cimbaljevic

PHP developer, WordPress Enthusiast, and Open Source Advocate. Enjoys traveling, meeting new people and learning about new places. WordPress is not just a platform. WordPress is an idea, and cause.

Volunteer, speaker, co-organizer and co-host for various WordPress related events.

Always looking for new challenges. Recently jumped into DevOps stuff, server and system infrastructure. Finds virtualization, containerization, orchestration, and microservices to be new „cool kid“ in the neighborhood.

Stop dumping and start debugging – Introduction to using XDebug with WordPress

Are you still using var_dump, var_export, echo, die, etc? For most of people it looks easy and simple, compared to setting up another tool.

While frontend developers prefer to add more tools to streamline their development process, it looks like backend WordPress developers (core, plugin) are not so much into adding more tools that will make their process and development environment more complicated.

We’ll setup a scenario:
You are building plugin that has a post-back, where another URL on your system will be called in background.
With dumping approach you will have to “record” headers and body of post-back request, then setup that in another script, or any other tool to “emulate” that request.
With data changing on every request, this process becomes overwhelming and chances of not covering most of possible use-cases are increasing.
With XDebug this becomes easy as click.

Make it more simple, more fast, more reliable and helps you visualise whole process, variables and processes running on your code.
For 90 minutes you will have a chance to try and improve your debugging skills, learn basic about XDebug, how to set it up on your local machine, and how to get it running.
As my preferred IDE is PHPStorm, I will use implementation for it, but in case you are reading this, I would love to hear from you what IDE should be covered.
As server-side implementation, Local by Flywheel (VM with docker containers), Laravel Valet and standalone implementation would be covered in this session.
Again, if you will like to hear something else, use any social networks to ping with me request.

Сесия