xdebug

Debugging in HHVM?

守給你的承諾、 提交于 2019-12-06 17:54:17
问题 When running my PHP scripts in HHVM I see that I can pass a debug-host and debug-port arguments, but I can't seem to work out exactly what it does and how to use it. Are those arguments for debugging HHVM itself (or maybe the compiled PHP itself) or is it for debugging the PHP script? That is to say, is it for debugging the way that HHVM works, or is it for debugging as I would normally do with XDebug, say? At first I tried to connect it to my IDE that is set up for XDebug, but that doesn't

:app:compileDebugJava Failed at Android Studio IDE

纵饮孤独 提交于 2019-12-06 16:15:58
I have checkout my project branch from SVN at Android Studio with slicSVN workspace. but when I'm making rebuild whole project but Error:Execution failed for task ':app:compileDebugJava'. invalid source release: 1.7" Why this issue had been arise ? I have done this issue, I'm using JDK6, but project built at JDK7, so I installed JDK7 and set path and java_home and run again, It's working fine.... 来源: https://stackoverflow.com/questions/25805025/appcompiledebugjava-failed-at-android-studio-ide

Netbeans not connecting with xdebug on Wamp : “showing waiting for connection”

冷暖自知 提交于 2019-12-06 15:41:32
Following is my configuration in bin\php\php5.3.9\php.ini and bin\apache\Apache2.2.21\bin [xdebug] zend_extension = "D:/wamp/php/ext/php_xdebug-2.2.1-5.2-vc9-nts.dll" xdebug.profiler_output_dir = "D:/wamp/tmp/xdebug" xdebug.profiler_output_name = "cachegrind.out.%p" xdebug.profiler_enable = 0 xdebug.profiler_append=0 xdebug.extended_info=1 xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.idekey=xdebug xdebug.remote_log="D:/wamp/tmp/xdebug/xdebug_remot.log" xdebug.show_exception_trace=0 xdebug.show_local_vars=9

Debugging using PHP 5.3.8

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 14:54:45
I used Xdebug for debugging in PHP v7. The way I did that its not working for PHP version 5.3.8. From the https://xdebug.org/wizard.php page, when I paste phpinfo() text it shows error: The compiler (MS VC9) that this PHP was build with, is no longer supported. Please upgrade to a version that was built with MS VC11 or MS VC14. How to debug using PHP v5.3.8 Download an older version for the matching PHP version: https://xdebug.org/download.php . They may not be supported anymore, but old versions continue to work as they did when they were still actively supported. 来源: https://stackoverflow

Netbeans, xdebug : start debugging from browser

我怕爱的太早我们不能终老 提交于 2019-12-06 13:39:41
I have following problem about debugging PHP files in Netbeans using xdebug : when I debug directly PHP file everything works OK. BUT: If I debug whole file (starts in index.html ) and after I click submit button which execute my PHP file , where is the breakpoint, It doesn't work. I wanna put breakpoint to PHP file to see what info I've received from my form in HTML page. I want to stop program just after those 2 variables, sent through ajax: $username = $_REQUEST["username"]; $password = $_REQUEST["password"]; Is it even possible?. Thank you! moskito-x For the Netbeans settings look at my

Visual Studio Code PHP Debug does not stop on breakpoints for Docker project

帅比萌擦擦* 提交于 2019-12-06 13:34:01
问题 I cannot get the VS Code extension "Php debug" to stop on any breakpoints. I am running the php project (that I want to debug) from Docker on my Ubuntu laptop. Any advice greatly appreciated. My set up: PHP version on Docker: 7.1 XDebug version on Docker: 2.6.1 PHP Debug version in VS Code (on my laptop): 1.12.6 My VS Code launch.json file is: { "version": "0.2.0", "configurations": [ { "name": "Listen for XDebug", "type": "php", "request": "launch", "port": 9000, "log": true, "pathMappings":

debian下LAMP环境安装PHP调试环境NetBeans+XDebug

蓝咒 提交于 2019-12-06 11:00:47
1、安装XDebug sudo apt-get install php5-xdebug sudo vi /etc/php5/conf.d/20-xdebug.ini 20-xdebug.ini 改成如下: zend_extension=/usr/lib/php5/20100525/xdebug.so xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 重启apach2 sudo /etc/init.d/apache2 restart 检查xdebug是否正确安装: shen@debian:/var/www$ cat /var/www/phpinfo.php <?php phpinfo(); ?> 浏览器中输入: http://localhost/phpinfo.php 能看到xdebug,就是安装成功。 2、安装PHP IDE工具NetBeans https://netbeans.org/downloads/ 选择 NetBeans IDE下载包 PHP - x64 sudo ./netbeans-8.1-php-linux-x64.sh 完成安装。 3、调试GET方法请求 很简单

Passing PHP arguments into NetBeans into a page that features symfony url-routing

只愿长相守 提交于 2019-12-06 08:33:52
问题 I am doing the Jobeet tutorial that features url routing. The url routing (I think that's the proper term) makes urls look like this http://localhost:8080/frontend_dev.php/job/extreme-sensio/paris-france/2/web-designer I would like to debug into this page however I cannot properly pass arguments into NetBeans. I set the arguments in NetBeans "Run Configuration" area to this job/extreme-sensio/paris-france/2/web-designer however the url that is executed is this (notice the ? that NetBeans

Setup Xdebug and PHPStorm with remote server

匆匆过客 提交于 2019-12-06 08:12:47
I'm trying to debug a PHP script using Xdebug and PHPStorm on a remote server, and am quite new to remote debugging. I do not have full access to the server but have FTP (not SFTP) access to most of the files (I can't get to php.ini for example). Xdebug is installed on the server correctly according to the wizard on their website and uses default values. I have all project files downloaded and setup in a project, which is setup for deployment. This works fine. To setup debugging I've installed WAMP on my local box (not the remote server, obviously) and set it as my PHP interpreter. It uses the

Using Xdebug when the php application sits behind Varnish

爱⌒轻易说出口 提交于 2019-12-06 08:06:53
问题 I'm trying to set up Xdebug remote debugging to a site sitting behind Varnish as a caching layer using PHPStorm. Varnish is sitting as a frontend on port 80 with Apache talking to it as a backend on port 8080. If I bypass Varnish and talk directly to the site on port 8080 Xdebug and Phpstorm work as expected, however then I'm not really testing the system properly - what I really need to do is trigger a debug session even when the request is proxied through Varnish. Obviously I'm not