How to Print Variables in ejs

  node.js, question

How to print the variables in ejs to see their structure?
Or how to print to chrome’s console

Ejs is a back-end rendering, you can output to the page display. For example, use output such as a for loop.

Of course, if you have to look at the browser console, then the ejs variable is assigned to a js variable and can be output on the console.

Why not watch it on node’s console? ?