f.注意:::multisession设置非常重要,否则,你只能命中断点一次,就停止调试了。。设置了
multisession后,每次打开调试的PHP页面,,都会命中断点的.就和JAVA的远程调试差不多了...
---------------2.配置zend debugger进行远程调试----------
a.配置::
a.1. Add the following line to your php.ini file:
Linux and Mac OS X: zend_extension=<full_path_to_ZendDebugger.so>
Windows: zend_extension_ts=<full_path_to_ZendDebugger.dll>
Windows non-thread safe: zend_extension=<full_path_to_ZendDebugger.dll>
a.2. Add the following lines to your php.ini file:
zend_debugger.allow_hosts=<host_ip_addresses>
zend_debugger.expose_remotely=always
(*) hopst_ip_addresses are the IPs of the hosts which will be allowed to initiate
debug sessions
a.3. Copy the dummy.php file to your document root directory.
a.4. Restart your Web server.