How to Debug SQL Queries in Kentico

kentico guy asked on February 10, 2020 18:01

I've debugged queries before in Kentico. I thought that the way I did it was to go to debug module then look for SQL queries. I just went into the debug module and I don't see the option for SQL debugging. SQL debugging is enabled in the settings menu.

How can I debug SQL queries in the non-MVC v12 app? It seems like a dumb question because I've done it before, but now I can't find the spot where I did it at.

thanks!

Correct Answer

Brenden Kehren answered on February 10, 2020 18:18

You have to enable debug in general and enable debugging sql queries specifically. You can do this in Settings > System > Debug. Make sure Disable Debugging is not checked. Then enable SQL queries debug. Then go back to the Debug app and see your queries.

3 votesVote for this answer Unmark Correct answer

Recent Answers


kentico guy answered on February 10, 2020 18:37

Nice, thanks! It was the disable debugging option. I didn't realize that completely removed the SQL query tab.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.