Public | Automated Build

Last pushed: a year ago
Short Description
php7 image for wodby/docker4wordpress with support for remote debugging with XDEBUG in Sublime Text
Full Description


A replacement php image for (a fork of that modifies the necessary config to support remote debugging with XDEBUG in Sublime Text 3

###Loopback address
Before starting a debugging session it is necessary to open a look back address, because remote xdebugging will not currently work on docker using xdebug.remote_connect_back = 1 (which should allow xdebug to connect back to what ever is calling it).

sudo ifconfig lo0 alias

###Sublime project settings for XDEBUG
path_mapping must point to the folder with script you're debugging in - but can map multiple - eg for debugging in either wp root or in page-templates:

            "path": "/private/var/www/ssb-bu.corp"
    "settings": {
        "xdebug": {
            "path_mapping": {
                    "/var/www/html/public/wordpress/wp-content/themes/ssb/page-templates/" : "/private/var/www/ssb-bu.corp/public/wordpress/wp-content/themes/ssb/page-templates/",
                    "/var/www/html/public/wordpress/" : "/private/var/www/ssb-bu.corp/public/wordpress/"
             "url": "http://localhost:8000/",
            "port": 9999
Docker Pull Command
Source Repository