When I need to solve a problem in a production web site I use FireLog a little class I wrote that allows me to log to a file an then later watch is contents on firebug
Share your thoughts on this with me, I’m very interested to find out how do you debug a live site?