{"id":16101330,"url":"https://github.com/dima74/cpp-useful-functions-for-debug-print","last_synced_at":"2026-02-17T18:05:06.201Z","repository":{"id":82678400,"uuid":"120734453","full_name":"dima74/cpp-useful-functions-for-debug-print","owner":"dima74","description":"Few easy-to-use debug print functions with nice colored output","archived":false,"fork":false,"pushed_at":"2022-12-17T11:15:52.000Z","size":14,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T13:41:11.991Z","etag":null,"topics":["debugging"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dima74.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-08T08:41:46.000Z","updated_at":"2024-02-03T19:17:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f18e6ec3-cd52-4766-bef3-920cb7b4136a","html_url":"https://github.com/dima74/cpp-useful-functions-for-debug-print","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dima74/cpp-useful-functions-for-debug-print","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dima74%2Fcpp-useful-functions-for-debug-print","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dima74%2Fcpp-useful-functions-for-debug-print/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dima74%2Fcpp-useful-functions-for-debug-print/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dima74%2Fcpp-useful-functions-for-debug-print/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dima74","download_url":"https://codeload.github.com/dima74/cpp-useful-functions-for-debug-print/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dima74%2Fcpp-useful-functions-for-debug-print/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29552262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T17:56:56.811Z","status":"ssl_error","status_checked_at":"2026-02-17T17:56:55.544Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"],"created_at":"2024-10-09T18:49:38.390Z","updated_at":"2026-02-17T18:05:06.187Z","avatar_url":"https://github.com/dima74.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Useful functions for debug print\n\n\u003e Generally for use in competitive programming\n\n[![Build Status](https://travis-ci.com/dima74/cpp-useful-functions-for-debug-print.svg?branch=master)](https://travis-ci.com/dima74/cpp-useful-functions-for-debug-print)\n\n# Usage\n\nInclude `debug.h`:\n\n    #include \"debug.h\"\n\nAnd just call `dbg` function with variables which you want to print:\n\n    dbg(var1, var2, ...);\n\nAnd you will get nice colored output! (See gallery and examples sections below)\n\n## Supported types:\n\n* primitives (int, char and so on)\n* strings\n* vectors\n* pairs\n* sets\n* maps\n* all nested combinations of above types are supported too!\n\n# Examples\n\n1. Simple\n\n    ```\n    int foo = 1;\n    int bar = 2;\n    string str = \"abc\";\n    char ch = '#';\n    dbg(foo, bar, str, ch);\n    ```\n\n2. Vector\n\n    ```\n    vector\u003cint\u003e simpleVector = {1, 2, 3};\n    dbg(simpleVector);\n    ```\n\n3. Map\n\n    ```\n    map\u003cint, int\u003e simpleMap = {{1, 10},\n                               {2, 20}};\n    dbg(simpleMap);\n    ```\n\n4. Pair \n\n    ```\n    pair\u003cint, int\u003e simplePair = {1, 2};\n    dbg(simplePair);\n    ```\n\n5. Inner vector\n\n    ```\n    vector\u003cvector\u003cint\u003e\u003e innerVector = {{1, 2, 3},\n                                       {4, 5, 6}};\n    dbg(innerVector);\n    ```\n\n# Gallery\n\n[![][1]][1]\n\n\n  [1]: screenshot.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdima74%2Fcpp-useful-functions-for-debug-print","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdima74%2Fcpp-useful-functions-for-debug-print","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdima74%2Fcpp-useful-functions-for-debug-print/lists"}