register_gameplay_debugger_category
Registers or reconfigures a named GameplayDebugger category from property specs so custom debug-actor data shows in-game via showdebug <category_name>.
Instructions
Registers (or reconfigures, idempotently) a named GameplayDebugger category backed by a single generic data-driven FGameplayDebuggerCategory (GameplayDebugger.h IGameplayDebugger::RegisterCategory). FGameplayDebuggerCategory has 0 BlueprintCallable surface, so this is the only path to author a custom debugger category from MCP. Toggle visibility in-game with the console command "showdebug <category_name>".
Returns: { category_name: string, spec_count: int, registered: bool, already_existed: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specs | Yes | [{actor_class?: string, property_name: string, color?: string ("white"|"red"|"green"|"yellow"|"cyan"...), label?: string}] -- which properties to print for the current debug-actor, and how | |
| category_name | Yes | Unique name for this debugger category (required) |