How many people still debug using die(‘here’); and refresh the page and prey that the class dies and we add another die? I did and its slow, error prone and really not professional. In this post I show how to use Docker + PHPStorm + Xdebug to debug any PHP application with ease.
Docker for mac is an interesting tool. At first try the file system speed is a killer and renders it useless for most apps. Yet with docker sync and a dash of config it becomes marvellous
In this post http://jamescowie.me/blog/2016/12/Docker-Sync/ I go through my setup for working natively.