using query_trace

I'm having trouble figuring out how to run query_trace. I was told I
could run it through cygwin but I can't start my mongrel server using
cygwin (throws errors). Any help would be useful.