Xdebug is a PHP extension used for debugging. It supports stack and function traces and profiling information.
Questions tagged [xdebug]
39 questions
0
votes
1 answer
Xdebug - no profile or trace output
I'm at a bit of a loss trying to get profiling and tracing working with Xdebug (debugging works fine). What's worse is that I have it working just fine on a different server/client setup, but I can't seem to see the difference that and this…
![](../../users/profiles/152021.webp)
Logos
- 101
- 4
0
votes
1 answer
Xdebug only writes to /tmp
I've installed Xdebug on Centos 6.2. It writes cachgrind files to /tmp just fine, But I want it to write to /tmp/xdebug instead.
I've added this to my php.ini:
xdebug.profiler_output_dir = /tmp/xdebug
and changed the owner of the folder to…
![](../../users/profiles/122768.webp)
Alon Adler
- 213
- 2
- 10
0
votes
1 answer
Apache request time - what's wrong?
I make JSON API and when measuring performance there's this strange thing. When doing XDEBUG_PROFILE, request processing takes about 100 ms. But browser network panel says it's always 1 - 1.5 seconds. Why so big difference and how do I know what…
![](../../users/profiles/28607.webp)
Kuroki Kaze
- 345
- 2
- 5
- 18
0
votes
1 answer
Xdebug on production server for single account
I have a situation where i have a development site on the same server as a number of production sites, not ideal i know. I would like to use xdebug for the development site but i'm concerned it will create unnecessary overhead on the production…
![](../../users/profiles/48354.webp)
robjmills
- 990
- 8
- 24
0
votes
2 answers
Should I add extension=xdebug.so to load xdebug as a php module or not?
First, http://xdebug.org/docs/install says
Note: You should ignore any prompts to add "extension=xdebug.so" to php.ini — this will cause problems.
Second, http://xdebug.org/docs/install says
Xdebug should appear twice there (once under 'PHP Modules'…
![](../../users/profiles/23714.webp)
Delirium tremens
- 133
- 2
- 9
0
votes
3 answers
What's XDebug used for?
test:coverage relies on XDebug to
collect its information, you need to
install it and enable it first.
How does it work?
![](../../users/profiles/31877.webp)
vps
- 1,187
- 3
- 12
- 12
0
votes
1 answer
Is xdebug compatible with a custom install of php 5.3?
sudo apt-get install php5-xdebug
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using…
![](../../users/profiles/17925.webp)
Kzqai
- 1,278
- 4
- 17
- 32
0
votes
2 answers
2 php-fpm processes with the same version
I would like to spawn two php-fpm processes (one with xdebug and one without) to make pages load faster
I intend to switch between php-fpm sockets based on the XDEBUG_SESSION cookie
Example code…
![](../../users/profiles/139007.webp)
unloco
- 121
- 1
- 6
-1
votes
1 answer
Best way to install and configure both a development and production server?
Here's the situation I have...
I am working on 3 small websites (one is a photography showcasing site for a family member, one is a blog, and one is a custom CMS I am working on to gain experience in PHP)
I am coding all 3 sites rite now using…
![](../../users/profiles/89039.webp)
alecwhardy
- 211
- 2
- 5