Commit db7a6bf4 authored by Qingyu Zhao's avatar Qingyu Zhao Committed by Russell Dickenson

Add database debug hint in development doc

Add a link on how to use `Verbose Query Logs` in rails console to trace
the source of SQL query. It is useful hint for debugging and identifying
performance problems.
parent 8247f2fd
...@@ -107,6 +107,7 @@ description: 'Learn how to contribute to GitLab.' ...@@ -107,6 +107,7 @@ description: 'Learn how to contribute to GitLab.'
### Debugging ### Debugging
- Tracing the source of an SQL query using query comments with [Marginalia](database_query_comments.md) - Tracing the source of an SQL query using query comments with [Marginalia](database_query_comments.md)
- Tracing the source of an SQL query in Rails console using [Verbose Query Logs](https://guides.rubyonrails.org/debugging_rails_applications.html#verbose-query-logs)
### Best practices ### Best practices
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment