ejs icon indicating copy to clipboard operation
ejs copied to clipboard

VScode debug EJS files of HEXO theme?

Open lorezyra opened this issue 2 years ago • 0 comments

This is NOT A BUG report. Rather a request to understand how to debug EJS templates using VScode debugger.

How does one debug an EJS template in VScode?

At the moment, I'm doing this "old school" with a bunch of console.info() statements that output variable names and values. This is not a long term solution as I will need to manually remove all these lines of code from the final product.

Related

  • https://github.com/hexojs/hexo/discussions/5161
  • https://github.com/orgs/hexojs/discussions/5157

lorezyra avatar Feb 24 '23 07:02 lorezyra