Closers & dupers, please not that I am asking for a solution which involves configuring Xdebug - no one has offered one of those yet.
Normally, I debug my PHP in Eclipse, but I also allow adding &debug
to a URL to do some simple echo
and var_dump()
to a browser page (for development only).
I know, I know ... debug by printf() ... shudder!
But, it's quick and it works when needed.
My problem is that the generated page is full of
Warning: Cannot modify header information - headers already sent by (output started at ...
with a backtrace.
Is there any way that I can suppress this?