debug media qeury