Allow debugging queries executed by the navigation panel

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>