xdebug

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

主宰稳场 提交于 2020-01-03 02:37:12
问题 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

How do I get xdebug/step-debugging working with ddev?

南笙酒味 提交于 2020-01-03 02:26:08
问题 I've been working with ddev on my Drupal projects, and now want to use xdebug so I have step-debugging with PhpStorm (or really any IDE would be fine). But I can't seem to get it to stop on breakpoints. I tried to follow the instructions in ddev docs but that doesn't do get me going, and I don't know what to do next. I did: Set the 172.28.99.99 IP address as discussed there Enabled xdebug using config.yaml xdebug_enabled: true and ddev start (and checked with phpinfo to see that xdebug was

How do I get xdebug/step-debugging working with ddev?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-03 02:25:16
问题 I've been working with ddev on my Drupal projects, and now want to use xdebug so I have step-debugging with PhpStorm (or really any IDE would be fine). But I can't seem to get it to stop on breakpoints. I tried to follow the instructions in ddev docs but that doesn't do get me going, and I don't know what to do next. I did: Set the 172.28.99.99 IP address as discussed there Enabled xdebug using config.yaml xdebug_enabled: true and ddev start (and checked with phpinfo to see that xdebug was

:app:compileDebugJava Failed at Android Studio IDE

坚强是说给别人听的谎言 提交于 2020-01-02 23:03:55
问题 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 ? 回答1: 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

How do you debug a PHP test file in Netbeans?

大城市里の小女人 提交于 2020-01-02 23:00:49
问题 The menu option is disabled for me. I can test ok and I can debug ok, just not both together. Is it possible, or is the menu option disabled because it isn't implemented for PHP. I'm hoping I don't need to go through the "Create Test files" procedure to enable it as I create the test files myself, rather than letting netbeans do it. 回答1: You should be able to debug the *Test.php files individually as you would the normal project. There's also a setting (at least in NetBeans 7.0) on the

Installing xdebug on php 5.6 Amazon Linux AMI

自作多情 提交于 2020-01-02 08:46:31
问题 I created an Elastic Beanstalk Environment ID_LIKE="rhel fedora" VERSION_ID="2016.03" PRETTY_NAME="Amazon Linux AMI 2016.03" ANSI_COLOR="0;33" CPE_NAME="cpe:/o:amazon:linux:2016.03:ga" HOME_URL="http://aws.amazon.com/amazon-linux-ami/" I'm trying to install xdebug using sudo yum install php-pecl-xdebug But I keep get the following error Loaded plugins: priorities, update-motd, upgrade-helper Resolving Dependencies --> Running transaction check ---> Package php-pecl-xdebug.x86_64 0:2.2.3-1.5

Installation of Xdebug on MacOS Catalina 10.15

孤街醉人 提交于 2020-01-02 08:14:52
问题 I tried to install Xdebug on OS X 10.15 and run into following problem: /private/tmp/pear/install/xdebug/xdebug.c:25:10: fatal error: 'php.h' file not found I tried to fix the problem like described here: Installing xdebug on MacOs Mojave - 'php.h' file not found Unfortunately the header files cannot be found in this directory: /Library/Developer/CommandLineTools/Packages Any ideas where I can get the current header files for OS X 10.15? 回答1: I would recommend you use "brew" to install PHP,

`enable_query_strings` is Not Working Properly

只谈情不闲聊 提交于 2020-01-02 06:10:16
问题 I'm trying to use CodeIgniter, and xdebug. When I type in the following URL: http://localhost/redux/index.php xdbug works well. When I go to following URL: http://localhost/redux/index.php? I receive the following 404 error message: XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=124466969367132 Eclipse lanches Firefox with the second, wrong URL, and then I have to change it. I'm using enable_query_strings = TRUE , but I'm still getting the error. How do I solve this problem? 回答1: To get this working

Installing XDebug for PHP with XAMPP on Mac

旧街凉风 提交于 2020-01-02 02:34:06
问题 I have a Mac with a fresh OSX Mojave install. I downloaded XAMPP (7.3) and installed. The local Apache web server works and the PHPInfo() I get from the dashboard shows all the correct information for the php.ini file being the /Applications/XAMPP/xamppfiles/etc/php.ini. I have taken a copy of the PHPInfo and put it in the wizard at: https://xdebug.org/wizard.php The instructions look simple. I did have to use homebrew to install autoconf first. But then I was able to download and unpack the

Enabling xdebug with phpstorm on mac OSX El Capitan

安稳与你 提交于 2020-01-01 19:09:37
问题 Before upgrading my macbook to El Capitan I had a sweet setup of Phpstorm 9, php 5.6 (via homebrew), xdebug (via homebrew). For the last month or so, however, I have been breakin my head, trying to figure out how to make that setup work again. I would appreciate any ideas you guys might have. Thanks, Eyal P.S. Here are my settings: xdebug version and ide key xdebug remote settings xdebug session cookie xdebug port in phpstorm PHP configuration in phpstorm Debug validation in phpstorm xdebug