Display extensive logs
For debugging purposes your might want to display extensive logs from your Admin Backend API. To do so, simply add the following in your code:
SQL
MongoDB
.env
1
...
2
3
NODE_ENV=development
Copied!
/models/index.js
1
...
2
3
mongoose.set('debug', true);
Copied!
This can be useful to understand how queries are executed to display your collections or relationships.
Last modified 1yr ago
Copy link