PHP Debugging with Breakpoints - case studies, examples..?

前端 未结 3 2014
情歌与酒
情歌与酒 2021-01-01 19:44

I\'d really like to get deeper into my php scripts and use things like breakpoints, as I\'m doing with JS with firebug.

I\'d like to know more about what techniques

3条回答
  •  臣服心动
    2021-01-01 20:33

    PHP is interpreted and server side scripting language. So, there are only few editors that supports the break point in PHP. And if you are doing the server side scripting then there is no way to debug your script using break points.

    However if you are planning to have basic scripting & debugging then you can go with http://www.firephp.org/. Also if you use Zend Studio editor then you will have many options on hand for debugging your script. Zend Studio supports the break point, run & debug options.

    I prefer to log the execution of my script in file.

    Thanks

提交回复
热议问题