0.0
Low commit activity in last 3 years
No release in over a year
Extends Liquid for enhanced debugging
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 0.1.6
~> 2.3
~> 13.0
~> 3.11
~> 1.29
~> 0.6.0

Runtime

~> 2.1
~> 5.3
 Project Readme

LiquidDebug

Overview

LiquidDebug provides a stack trace of executed Liquid code when an error occurs, supplementing the [typically vague] default error format provided by Liquid.

It is not suitable for a production environment as it makes no effort to account for performance or memory leak issues and so should only be used in a development environment when debugging specific issues.

Installation

Add the following to your Gemfile:

gem 'liquid_debug', '~> 0.1.1'

Usage

Include the LiquidDebug extension (e.g. in an initializer or in config/application.rb):

# config/initializers/liquid_debug.rb
require 'liquid/debug' if Rails.env.development?

You should now see something like this in your server output when a Liquid error occurs:

example