setup php.ini

put this section to your php.ini.

; this is to see output while debugging
implicit_flush = On
; this is to see output while debugging
output_buffering = 0
[Zend]
zend_extension_ts="C:\xampp\php\ext\ZendDebugger.dll"
zend_debugger.allow_hosts=127.0.0.1/32
zend_debugger.expose_remotely=always