{"id":15160633,"url":"https://github.com/son1kxdev/customdebugger","last_synced_at":"2026-01-20T18:56:30.960Z","repository":{"id":215373463,"uuid":"662830407","full_name":"Son1kXDev/customdebugger","owner":"Son1kXDev","description":"A custom debugger script for Unity that provides additional functionality for logging and debugging in the Unity Editor.","archived":false,"fork":false,"pushed_at":"2024-01-04T02:55:48.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T20:12:47.163Z","etag":null,"topics":["debugging-tool","unity","unity-editor","unity-plugin","unity-tool"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Son1kXDev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-06T01:37:40.000Z","updated_at":"2023-08-10T16:33:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5c7f993-8d22-4116-bd53-f67c922ee34f","html_url":"https://github.com/Son1kXDev/customdebugger","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"8bab6ef37422bfedbe43ed1b5cb218958ad65a38"},"previous_names":["son1kxdev/customdebugger"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Son1kXDev%2Fcustomdebugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Son1kXDev%2Fcustomdebugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Son1kXDev%2Fcustomdebugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Son1kXDev%2Fcustomdebugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Son1kXDev","download_url":"https://codeload.github.com/Son1kXDev/customdebugger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247721900,"owners_count":20985084,"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-tool","unity","unity-editor","unity-plugin","unity-tool"],"created_at":"2024-09-26T23:04:36.332Z","updated_at":"2026-01-20T18:56:30.947Z","avatar_url":"https://github.com/Son1kXDev.png","language":"C#","readme":"# Console.cs\n\n## Description\nConsole.cs is a custom debugger script for Unity that provides additional functionality for logging and debugging in the Unity Editor.\n\n## Installation\n\nTo install the plugin, simply download and import the CustomDebugger.unitypackage into your project.\n\n## Features\n- Clearing the debug console.\n- Setting color and style for log messages.\n- Logging messages with different log types (Log, Warning, Error, Assertion, Exception).\n\n## Usage\n### Clearing the Debug Console\n- In the Unity Editor, navigate to `Tools \u003e Console \u003e Clear Console` or use the shortcut `Alt + Shift + C` to clear the debug console.\n\n![image](https://github.com/Son1kXDev/customdebugger/assets/106654105/3ef4bea6-0866-4650-8b80-5e7d04604a3d)\n  \n- In any script simple add Debug.Clear() to clear the debug console.\n```csharp\n Debug.Clear();\n```\n\n### Setting Color and Style\n- Use the following methods to set the color and style for log messages:\n    - `SetColor(Color color)`: Sets the color for log messages. The color parameter should be a valid Color object.\n    - `SetStyle(Style style)`: Sets the style for log messages. The style parameter should be one of the following:  Bold, Italic, or BoldItalic.\n\n### Logging Messages\n- The logging methods (`Log`, `LogWarning`, `LogError`, `LogAssertion`, `LogException`) are similar to the ones provided by the `UnityEngine.Debug` class. They allow you to log messages with different log types and optional context objects.\n\n## Example\nHere's a simple example of how to use the `Console.cs` script:\n\n```csharp\nusing UnityEngine;\nusing System.Collections;\n\npublic class ExampleScript : MonoBehaviour\n{\n    private IEnumerator Start()\n    {\n        Debug.SetColor(Color.green);            //set color to green\n        Debug.SetStyle(Style.bold);            //set style to bold\n        Debug.Log(\"Hello world!\", this);        //logging message\n\n        yield return new WaitForSeconds(5);    //waiting for 5 seconds\n        Debug.Clear();                        //clearing console\n    }\n}\n```\n\n![image](https://github.com/Son1kXDev/customdebugger/assets/106654105/7ed94337-e472-406d-9512-9e88819a1336)\n\n\n## Notes\n- This script provides additional functionality for logging and debugging in the Unity Editor.\n- The script can be accessed through the `Tools` menu in the Unity Editor.\n- Some features are only available in the Unity Editor and may not work in a built game.\n- Ensure that you have imported the necessary libraries and dependencies for the script to work properly.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fson1kxdev%2Fcustomdebugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fson1kxdev%2Fcustomdebugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fson1kxdev%2Fcustomdebugger/lists"}