New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

liquid_debug

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liquid_debug

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 19 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc