且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

突出显示调试功能

更新时间:2022-02-23 06:06:54

  1. 安装并使用 Php Inspections(EA Extended)插件

一旦安装-Settings/Preferences | Editor | Inspections

此插件提供的一项检查称为Forgotten debug statements-在此找到它(提示:有一个搜索字段-使用它)

One of the inspections this plugin provides called Forgotten debug statements -- find it there (hint: there is a search field -- use it)

此检查将突出显示一些与调试相关的标准功能,您可以添加自己的功能名称.

This inspection will highlight some standard debug related functions + you can add your own function names.

PS 此检查仅适用于PHP函数-找不到echo '<pre>',print($var),'</pre>'之类的构造.

P.S. This inspection works with PHP functions only -- it will not find constructions like echo '<pre>',print($var),'</pre>'.

顺便说一句-为什么不尝试使用Xdebug/Zend Debugger以获得适当的调试体验?

BTW -- why don't you try Xdebug/Zend Debugger for a proper debug experience?