我在使用xdebug和netbeans配置进行远程调试时遇到了问题。使用Xdebug和Netbeans进行远程调试本地主机上的PHP网站的正确方法
我可以在本地主机上使用xdebug和netbeans进行调试,而且它工作得很好..但是在远程服务器上,当我放置断点并调试文件时,会发生什么,它不会停止在任何断点上。我不知道我失去了什么,因为我新到这..这是我迄今为止的基本设置。
在我的PHP ini文件
zend_extension = "c:/wamp/bin/php/php5.3.8/zend_ext/php_xdebug-2.1.2-5.3-vc9-x86_64.dll"
[xdebug]
xdebug.remote_enable = 1
xdebug.remote_host=localhost
xdebug.remote_handler = dbgp
xdebug.remote_connect_back = 1
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
,并在我的NetBeans,我已经配置了远程连接和伟大工程在这里的连接是
Run As = Remote Web Site (FTP, SFTP)
Project Url = http://www.somewebsite.com/
Index File = index.php
Arguments = none since it has n arguments at first
inside Remote Connection :
host Name = host IP(eg 69.123.123.123)
encryption = Pure Ftp
username = someuser
password = somepassword
initial directory =/
timeout = 30
keep alive interval = 30
Passive mode = checked
Upload directory = blank
Upload Files = manually
希望有人上运行配置的设置可以帮助我指出我缺少什么和做什么,我很难理解这方面的一些技术配置,如果你能一步一步帮助我,我知道我可以遵循。期待这一点。谢谢!