Xdebug Exception类的方法

Clu*_*tch 2 php xdebug

是否有可能看到Xdebug创建的扩展Exception类的方法?我想了解HTML格式的堆栈跟踪。

Clu*_*tch 5

因此,在对其进行黑客攻击之后,没有像Niels所示的方法,而是有一个名为$ exception-> xdebug_message的公共属性,该属性具有HTML格式的消息。如果将其放在HTML页面中,请不要忘记将其包装在表格标签中。

echo '<table>';
echo $exception->xdebug_message;
echo '</table>';
Run Code Online (Sandbox Code Playgroud)