{"id":23138343,"url":"https://github.com/deployable/ndebug","last_synced_at":"2025-04-04T09:44:09.939Z","repository":{"id":29146058,"uuid":"32676232","full_name":"deployable/ndebug","owner":"deployable","description":"debug like nodejs debug but rubyish","archived":false,"fork":false,"pushed_at":"2016-08-06T14:08:13.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T14:49:57.171Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"beefe/react-native-picker-android","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deployable.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-22T13:16:32.000Z","updated_at":"2016-08-06T13:21:23.000Z","dependencies_parsed_at":"2022-09-12T10:00:41.485Z","dependency_job_id":null,"html_url":"https://github.com/deployable/ndebug","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fndebug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fndebug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fndebug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fndebug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deployable","download_url":"https://codeload.github.com/deployable/ndebug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157133,"owners_count":20893210,"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":[],"created_at":"2024-12-17T13:10:41.922Z","updated_at":"2025-04-04T09:44:09.904Z","avatar_url":"https://github.com/deployable.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NDebug\n\ntiny ruby debug utility modelled after [nodejs debug](https://github.com/visionmedia/debug)\n\n## Installation\n\n    $ gem install ndebug\n\nOr add this line to your application's Gemfile:\n\n```ruby\ngem 'ndebug'\n```\n\nAnd then execute:\n\n    $ bundle\n\n## Usage\n\n```ruby\nrequire \"ndebug\"\n```\n\nThen you can include `NDebug` into the classes you want to run the `debug` method in\n\n```ruby\nclass Something\n  include NDebug\nend\n```\n\nThe DEBUG environment variables controls what debug logging occurs.\n\n    DEBUG='MySuperClass\"\n\nWould enable debug in the `MySuperClass` alone\n\n    DEBUG='Class::Sub::*, Other::*'\n\nWould turn debug on for any Classes or Modules scoped under `Class::Sub::` and `Other::`\n\n```ruby\nclass Something\n  include NDebug\n\n  def some_method\n    a = \"3208f23-23\".split 2\n    debug 'split', a\n  end\nend\n\nSomething.new.some_method\n```\n\n    $ DEBUG='Something' ruby something.rb\n\n\n## Contributing\n\n1. Fork it ( https://github.com/deployable/ndebug/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeployable%2Fndebug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeployable%2Fndebug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeployable%2Fndebug/lists"}