- A solution for Cross-Origin Resource Sharing
- Since <script> tag is an exception to Same-Origin Policy,
- This usage pattern is known as JSONP
source : JSONP
current version : Xdebug 2
documentation : http://xdebug.org/docs/
Xdebug can be installed through PEAR/PECL
- Xdebug displays stack trace of error.
- Xdebug beautifies output of "var_dump" to make it more readable for debugging purpose.
- Xdebug can log all function calls along with its parameters and return values
- Xdebug allows code coverage analysis to find which line of code has been executed and how many times.
- Xdebug has built-in profiler to optimize code.