Added Query debug possibility.