Quickstart Guide to Debugging PHP in Sublime Text 3

1. Install Sublime Text 3: http://www.sublimetext.com/3 2. Enable XDEBUG in the PHP.ini file, then restart server. [XDebug] zend_extension = “C:\xampp\php\ext\php_xdebug.dll” xdebug.profiler_append = 0 xdebug.profiler_enable = 0 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir = “C:\xampp\tmp” xdebug.profiler_output_name = “xdebug_profile.%R::%u” xdebug.remote_enable = 1 xdebug.remote_handler = “dbgp” xdebug.remote_host = 127.0.0.1 xdebug.remote_port = 9000 xdebug.trace_output_dir = “C:\xampp\tmp” 3. In Sublime, go to…