Is there a way to see the database queries in the console?

Is there a way to see the database queries in the console?

Yes, the desktop version of the container is essentially like a browser, this gives you access (with a debug build) to the google developer tools.

The process is as follows:

  1. Right click on the view and select Toggle DevTools:

    ![enter image description here](upload://hCZGCeC1Mv9SIS8Xsza9p2XkWKg.png)

  2. Select Verbose under Tab Console > Custom levels

    ![enter image description here](upload://cNldFzqCPdsUsGM3NRNBuwMd1Zu.png)

  3. You will now be able to see all database queries running in the application as below

    ![enter image description here](upload://5jU2Dbf5VwTTqYLBW9FuUCwJgtg.png)

Being able to view the database queries will help a lot in development. This truly helped me personally to keep track of a view's performance and identifying improvements I can make.

2 Likes