Javascript and PHP debugging problems
Hello,
yesterday I downloaded the pre-release "WebIDE - PHP developer edition" and I tried to use it on a web application.
My application has a mix of *.js and *.php files and I normally use a developing local network server. I have an apache+php (5.3.0) server running on this machine and I installed Xdebug 2.0.5, adding this section in the php.ini file :
[xdebug]
zend_extension="C:/php/ext/php_xdebug-2.0.5-5.3-vc6.dll"
xdebug.remote_enable=1
xdebug.remote_host="192.168.2.150" <<-- this is my local IP
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
xdebug.remote_mode ="req"
xdebug.remote_log="C:/inetpub/temp/Xdebug.log"
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:/inetpub/temp"
My problems are:
1) Cannot debug PHP files without stopping first on the first file (index.php) and then moving to the other included/called php files. I.e. If I only set a breakpoint on "engine.php" it doesn't stop.
2) Cannot debug Javascript at all: I tried the two Javascript Debug Configurations (remote and local), but breakpoints are simply bypassed. In the remote configuration I installed the JB Firefox plugin and also I tried to set breakpoints in a new index.html or in a *.js file, but nothing changed.
3) When I will be able to debug javascript code will it be possible to debug javascript AND php at the same time?
Thanks in advance,
Flavio
请先登录再写评论。
Sorry for delay, I'll forward your request to developers responsible for the debuggers. As for p.3 - yes, its possible to use both PHP and JS debuggers at the same time - just launch both PHP and JS debug configurations.
Hello Flavio,
Please provide Web IDE log (http://www.jetbrains.net/devnet/message/5243846#5243846) along with Xdebug log (xdebug.remote_log="C:/inetpub/temp/Xdebug.log")
Please watch http://youtrack.jetbrains.net/issue/IDEADEV-41605
Please watch http://youtrack.jetbrains.net/issue/WI-676
Regards,
Kirill