How to disable Query Debug Console in AEM 6.5 | Community
Skip to main content
Level 2
September 18, 2023
Solved

How to disable Query Debug Console in AEM 6.5

  • September 18, 2023
  • 1 reply
  • 1342 views

Hi,

I want to disable Query Debugger (http://localhost:4502/libs/cq/search/content/querydebug.html) console in AEM. When I tried to check other articles, they specified to disable query  debug config in Config Manager. But I dont see that in my AEM 6.5. Please help.

 

Thanks,

Jagan

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

@jagannadhareddyk 

 

I would suggest to block it on dispatcher level using filters. You would need to deny following:

 

  • For debugging Query Builder queries, you can use the Query Builder debugger console at

http://<host>:<port>/libs/cq/search/content/querydebug.html

  • Or, alternatively, the Query Builder JSON servlet at

http://<host>:<port>/bin/querybuilder.json?path=/tmp

# Deny access to /bin/querybuilder.json /0099 { /type "deny" /url "/bin/querybuilder.json" }

If its still available in author and publish, its generally good, as it helps in debugging

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
September 18, 2023

@jagannadhareddyk 

 

I would suggest to block it on dispatcher level using filters. You would need to deny following:

 

  • For debugging Query Builder queries, you can use the Query Builder debugger console at

http://<host>:<port>/libs/cq/search/content/querydebug.html

  • Or, alternatively, the Query Builder JSON servlet at

http://<host>:<port>/bin/querybuilder.json?path=/tmp

# Deny access to /bin/querybuilder.json /0099 { /type "deny" /url "/bin/querybuilder.json" }

If its still available in author and publish, its generally good, as it helps in debugging

Aanchal Sikka
Level 2
September 18, 2023

Hi @aanchal-sikka ,

Thanks for the suggestion.