如何在Sublime Text3中调试PHP、Javascript代码?

如何在Sublime Text3中调试PHP、Javascript代码?,javascript,php,debugging,sublimetext3,wampserver,Javascript,Php,Debugging,Sublimetext3,Wampserver,我使用的是WAMP服务器,我使用的是Windows7操作系统 ; XDEBUG Extension zend_extension = "c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11.dll" ; [xdebug] xdebug.remote_enable = off xdebug.profiler_enable = off xdebug.profiler_enable_trigger = off xdebug.prof

我使用的是WAMP服务器,我使用的是Windows7操作系统

; XDEBUG Extension

zend_extension = "c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11.dll"
;
[xdebug]
xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.show_local_vars=0

zend_extension="C:/wamp/bin/php/php5.2.9-1/ext/php_xdebug-2.0.4-5.2.8.dll"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000

我在php.ini文件中做了如上所示的更改

在WAMP服务器上配置xdebug(看起来您已经这样做了)

然后,您需要在Sublime Text 3中使用来安装软件包(使用martomo版本,而不是kindari版本)。如果尚未安装包控件,则可能需要安装包控件


这里有一个更深入的教程:

请具体说明您想要的东西??我想用sublime调试php代码。就是这样,你试过用吗?澄清一下:Sublime Text是一个文本编辑器。为了开发应用程序,你应该使用IDE。是的,我在google上试过,什么是IDE?我在哪里可以找到它以及如何使用它@云雀恭弥