debug sql write vs url display