{"id":13612581,"url":"https://github.com/gemfarmer/jekyll-debug","last_synced_at":"2025-09-06T03:40:56.995Z","repository":{"id":55414901,"uuid":"100975931","full_name":"gemfarmer/jekyll-debug","owner":"gemfarmer","description":"Jekyll filter that allows a user to debug liquid filters and tags at runtime","archived":false,"fork":false,"pushed_at":"2021-01-01T14:21:58.000Z","size":5,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T10:22:05.183Z","etag":null,"topics":["debugging","filter","jekyll"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/jekyll-debug","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gemfarmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-21T17:21:32.000Z","updated_at":"2020-10-27T10:10:33.000Z","dependencies_parsed_at":"2022-08-14T23:50:36.670Z","dependency_job_id":null,"html_url":"https://github.com/gemfarmer/jekyll-debug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemfarmer%2Fjekyll-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemfarmer%2Fjekyll-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemfarmer%2Fjekyll-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemfarmer%2Fjekyll-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemfarmer","download_url":"https://codeload.github.com/gemfarmer/jekyll-debug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234257508,"owners_count":18804006,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debugging","filter","jekyll"],"created_at":"2024-08-01T20:00:31.940Z","updated_at":"2025-01-17T17:57:35.317Z","avatar_url":"https://github.com/gemfarmer.png","language":"Ruby","funding_links":[],"categories":["Debugging","Ruby"],"sub_categories":[],"readme":"# Jekyll debug\n\n*A Jekyll filter that enables runtime debugging.*\n\n[![Gem Version](https://img.shields.io/gem/v/jekyll-debug.svg)](https://rubygems.org/gems/jekyll-debug)\n[![Build Status](https://img.shields.io/travis/gemfarmer/jekyll-debug/master.svg)](https://travis-ci.org/gemfarmer/jekyll-debug)\n[![Dependency Status](https://img.shields.io/gemnasium/gemfarmer/jekyll-debug.svg)](https://gemnasium.com/gemfarmer/jekyll-debug)\n\n## Usage\n\n1. Add `gem 'jekyll-debug'` to your site's Gemfile and run `bundle`\n2. Add the following to your site's `_config.yml`:\n\n```yml\ngems:\n  - jekyll-debug\n```\n\nTo use in your project, add liquid tags to front matter and use the `debug` filter to catch variables at run time. `jekyll-debug` extends the [`pry`](https://github.com/pry/pry) debugger, so when the debugging console shows appears, all `pry` commands are valid commands.\n\n**example.md**\n\n```\n---\ntitle: My first page\n---\n\n# Welcome to {{ test | debug }}!\n\n\u003e\u003e ---------------------\nMy first page is a String\n---------------------\n\nFrom: /Users/brianhedberg/Projects/jekyll-debug/lib/jekyll-liquify.rb @ line 12 LiquidFilter#debug:\n     5: def debug(*args)\n     6:   if args.any?\n     7:     args.map do |arg|\n     8:       type = arg.class\n     9:       puts '---------------------'\n    10:       puts \"#{arg} is a #{type}\"\n    11:       puts '---------------------'\n =\u003e 12:       binding.pry\n    13:     end\n    14:   else\n    15:     args\n    16:   end\n    17: end\n\n[1] pry(#\u003c#\u003cClass:0x007f8a1ccbe7a8\u003e\u003e)\u003e\n```\n\n## Contributing\n\n1. Fork the project\n2. Create a descriptively named feature branch\n3. Add your feature\n4. Submit a pull request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemfarmer%2Fjekyll-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemfarmer%2Fjekyll-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemfarmer%2Fjekyll-debug/lists"}