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:

    toggle dev tools

  2. Select Verbose under Tab Console > Custom levels

    verbose logging

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

    db query logs

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