How to debug liquid?

shenkwen
Shopify Partner
12 0 1

Besides using console.log, is there any other way to debug liquid? What is the best practice?

0 Likes
m_waqas
Trailblazer
164 36 48

Hi @shenkwen, You can debug it by printing the object values. For example, {{ customer.first_name }}, it could be any object.

- Was my reply helpful? Click Like and Accept as Solution
- Want to implement a custom solution? Feel free to contact me at waqas4346@gmail.com
0 Likes