To log all queries use:
DEBUG='sequelize:sql:*' npm run dev
npm run devs
However, you often want to long only a few selected queries, otherwise it becomes very difficult to determine which query is which, in partciular due asynchronous execution. In this case, use the technique mentioned at: and just add:
logging: console.log
to the code in the query you want to log.