-Xdebug标志开销有多大? [英] How large is the -Xdebug flag overhead?
问题描述
我不知道-Xdebug标志引入的性能开销有多大?
I wonder how large the performance overhead that the -Xdebug flag introduces?
调试生产应用程序非常方便,但是我估计运行所有时间?
It's very convenient to debug production applications, but I guess it is expensive to leave running all the time?
另外,是否有一个很好的方法来使已经运行的应用程序通过Debug端口监听,而不需要重新启动?
Also, is there a good way to make the already running application to listen via Debug port, without re-launching it?
谢谢。
推荐答案
我们没有发现任何区别。我们使用-Xdebug运行所有的生产应用程序。
We haven't found any difference. We run all our production applications with -Xdebug.
是否有一个很好的方法来将调试模式添加到已经运行的应用程序中,而无需重新启动它。 >
is there a good way to add Debug mode to application already running, without re-launch it
这是-Xdebug所做的。有人连接到调试端口时,调试器实际上开始。
It is what -Xdebug does. Debugger actually starts when someone connects to debugging port.
这篇关于-Xdebug标志开销有多大?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!