Install DBG Debugger to debug your PHP program (Windows) [转]

zhaozj2021-02-16  68

Introduction: This is an article introduction to the installation of DBG Debugger. In fact, I think the best PHP Debug software should be non-Zend Studio, although the run is slow, but as long as you have super-CPU and large-capacity memory, then strong recommendations You use Zend Studio to install easy to use, it is a must-have for home travel murder. Of course, I didn't have used DBG Debugger ....

--Deep space

/ * Please keep posted topics: Installing dbg debugger to debug your PHP Author: z33 from: http: //www.itroot.org * / This tutorial is to continue on a So before you need to install Eclipse, Eclipse is a great development platform for IBM's host development, and the current version is already 3.0. Article address: http://www.pig8.com/bbs/index.php?showtopic=193 · Download php_dbg.dll first, download the address as follows: http://dd.cron.ru/dbg/download.php?h = 211.23-Win32 · Unzip, then find the same php_dbg.dll-xxx as the PHP version you installed, change the name to php_dbg.dll and copy php_dbg.dll to your PHP installation directory under the extensions in your PHP installation directory. · Edit php.ini, find the following, do the changes to the settings below:; this is to see output while debugging Implicit_flush = ON; here check, set your own PHP installation directory EXTENSION_DIR = "C : / php / extensions /; php_dbg.dll filling configuration item extension = php_dbg.dll; DEBUG filling CI [debugger] debugger.enabled = true debugger.profiler_enabled = true debugger.JIT_host = clienthost debugger.JIT_port = 7869 · Restart Apache .. Now you can open the Eclipse debugging a PHP script, first select the "Add / Remove BreakPoint" item under "run" in the menu bar. • DEBUG button in

Small arrow, select Debug As -> PHP Application, a prompt will ask you to ask if you enter the debug view for debugging, select "Yes", perform Debug view. 400) this.width = 400; if (this.Height> 450) THISHEIGHT = 450 "Border = 0>
· After coming in, you can write a single step, the right side is all variable monitoring, cool. Such.Width = 400; IF (this.height> 450) this.height = 450 "Border = 0>

转载请注明原文地址:https://www.9cbs.com/read-15364.html

New Post(0)