xdebug

Problems with database links on phpmyadmin interface

人盡茶涼 提交于 2019-12-14 03:59:40
问题 I'm having a bunch of problems with my phpmyadmin. I have been using this tool for years and never had any problems until last week, but since, I can't manage to make it work properly. I didn't do any changes to the system, apache, php, mysql and phpmyadmin where not touched/changed before the problems started. Actual Symptoms: Words on the links on the database list don't work. If I click the name of the database, the "loading..." text in yellow background appears on the middle of the screen

Why xdebug marks 587 and 588 as not executed and 589 as executed?

亡梦爱人 提交于 2019-12-13 23:57:37
问题 This is the chunk of code with the issue And this is the legend 回答1: I've understood what happens. The line 586 has multiple conditions and not all cases are covered and for those cases that are not covered 587 and 588 are listed as not executed. The legend should be updated though because is confusing. 来源: https://stackoverflow.com/questions/54828254/why-xdebug-marks-587-and-588-as-not-executed-and-589-as-executed

Xdebug with CodeIgniter and NetBeans

家住魔仙堡 提交于 2019-12-13 18:21:19
问题 I've installed Xdebug on Ubuntu serve rand I've set /etc/php/5.6/apache2/conf.d/20-xdegug.ini file this way zend_extension=xdebug.so xdebug.remote_host = 192.168.0.140 xdebug.remote_enable = 1 xdebug.remote_port = 9000 xdebug.remote_handler = dbgp xdebug.remote_mode = req remote_host is an Ubuntu 16.04 virtual machine on the same local network that my computer. When I try to start the debugging NetBeans has a message on bottom waiting for connection (netbeans-debug) and the execution doesn't

Debug PHP in Atom While Using Vagrant

若如初见. 提交于 2019-12-13 15:38:15
问题 My PHP dev environment is running on a VirtualBox VM and is provisioned via vagrant. How can I use php-debug in Atom on my host machine to debug PHP scripts running on one of my VMs? 回答1: Configure xdebug: Open your php.ini file on your VM and look for the xdebug settings and make sure that you have the following values: xdebug.remote_autostart=1 xdebug.remote_connect_back=0 xdebug.remote_mode=req xdebug.remote_log=/tmp/xdebug.log xdebug.remote_host=10.0.2.2 xdebug.remote_port=9999 Note: you

How to correctly configure xdebug.file_link_format?

痴心易碎 提交于 2019-12-13 14:41:45
问题 I want error messages outputed by xdebug to show up as links in the browser so I can open them quickly using TextMate. I added the following line to my php.ini file, restarted apache and added a few syntax errors to one of my php scripts but the file name is not showing up as a link. Xdebug is otherwise working fine on my system. xdebug.file_link_format="txmt://open/?url=file://%f&line=%l" Are there additional configurations that I need to set up to make this work? Edit: Here are all the

How to debug multiple sessions in PHP?

自作多情 提交于 2019-12-13 13:15:07
问题 I am working on a project where the application creates web service requests to the same application over the network in development mode to get bogus data and better development environment. Sometimes when I am debugging I found it hard to do because it seems that XDebug does not work when you have two debugging sessions at the same time on the same PHP installation. Is there a way to debug multiple sessions in PHP with some debug tool? I have been using Netbeans and XDebug and the debugging

xdebug in phpinfo() is not showing

故事扮演 提交于 2019-12-13 11:17:54
问题 I have literally spent an entire day on solving the issue for xdebug not showing on phpinfo() . I've checked the file path is correct. 回答1: Windows 7 Home Premium, the contents of the php.ini file regarding xdebug are : ;zend_extension = "C:\xampp\php\ext\php_xdebug.dll" ;xdebug.profiler_append = 0 ;xdebug.profiler_enable = 1 ;xdebug.profiler_enable_trigger = 0 ;xdebug.profiler_output_dir = "C:\xampp\tmp" ;xdebug.profiler_output_name = "cachegrind.out.%t-%s" ;xdebug.remote_enable = 1 ;xdebug

How to debug code while using my browser on PhpStorm

若如初见. 提交于 2019-12-13 10:53:40
问题 I cannot debug Laravel via PhpStorm and Xdebug. When I try to debug a single file via PhpStorm, it works fine, but when I set a breakpoint and try it on the browser, it doesn't work. PhpStorm waits for incoming connection with ide key and it stops there. 回答1: The workflow that I've set: Use something like Xdebug helper. Configure it to use PhpStorm IDE Key. When you want to debug: Activate Xdebug Helper (Mark Debug ) Go to PhpStorm and Run > Start listening for PHP Debug Connections Put a

Install XDebug and load in Acquia Drupal Stack?

橙三吉。 提交于 2019-12-13 05:07:45
问题 I am trying to follow this article: http://robshouse.net/article/xdebug-komodo-and-acquia-drupal-stack-installer I did all of that, yet XDebug is still not being loaded or shown on phpinfo. Has anyone got this to successfully work? I installed XDebug with Homebrews, brew install xdebug. I copied xdebug.so to my acquia stack folder, /php/ext/xdebug.so and added the approrpiate lines to php.ini, restarted the stack and Apache and no luck. Tried a few different articles and have not had success.

Xdebug interrupts the running of PHP script

落花浮王杯 提交于 2019-12-13 04:35:03
问题 I'm using Netbeans 7.3 and xDebugon WAMP. Here is my configuration of xDebugin php.ini: zend_extension = "c:/wamp/bin/php/php5.4.3/ext/php_xdebug-2.2.3-5.4-vc9.dll" [xdebug] xdebug.remote_enable = on xdebug.profiler_enable = off xdebug.profiler_enable_trigger = off xdebug.profiler_output_name = cachegrind.out.%t.%p xdebug.profiler_output_dir = "c:/wamp/tmp" If I put a break point on my ajax script, it stops on the break point. If I go line by line with F8 to the end of the script, I get "500