Questions tagged [xdebug]

Xdebug is a PHP extension used for debugging. It supports stack and function traces and profiling information.

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…
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…
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…
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…
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'…
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?
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…
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…
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…
alecwhardy
  • 211
  • 2
  • 5
1 2
3