This guide explains how to use command-line flags to quickly open specific editors and panels during development for faster debugging workflows.
--rom_fileLoad a specific ROM file on startup.
--debugEnable debug logging with verbose output.
--log_level, --log_categories, --log_to_consoleControl verbosity and filter by subsystem. Categories can be allowlisted or blocked by prefixing with -:
--editorOpen a specific editor on startup. This saves time by skipping manual navigation through the UI.
Available editors:
Assembly - Assembly code editorDungeon - Dungeon/underworld editorGraphics - Graphics and tile editorMusic - Music and sound editorOverworld - Overworld map editorPalette - Palette editorScreen - Screen editorSprite - Sprite editorMessage - Message/text editorHex - Hex/memory editorAgent - AI agent interfaceSettings - Settings editorExample:
--open_panelsOpen specific panels within an editor. Matching is case-insensitive and accepts either display names or stable panel IDs (e.g., dungeon.room_list, emulator.cpu_debugger). Room N tokens will open the corresponding dungeon room card.
Dungeon Editor Panels:
Rooms List - Shows the list of all dungeon roomsRoom Matrix - Shows the dungeon room layout matrixEntrances List - Shows dungeon entrance configurationsRoom Graphics - Shows room graphics settingsObject Editor - Shows the object placement editorPalette Editor - Shows the palette editorRoom N - Opens a specific room by ID (e.g., Room 0, Room 105)Example:
--startup_welcome, --startup_dashboard, --startup_sidebarControl startup chrome visibility. Each accepts auto, show, or hide:
Open a specific dungeon room for testing:
Compare multiple rooms side-by-side:
Open all dungeon editor tools:
Enable full debug output while working:
Jump straight to overworld editing:
If compiled with YAZE_WITH_GRPC=ON, you can enable automated GUI testing:
This allows remote control via gRPC for automated testing and AI agent interaction.
All flags can be combined for powerful debugging setups:
Room N shortcuts use the dungeon room ID range (0-319 in vanilla)Editor doesn't open:
--debugPanels don't appear:
--editor=Dungeon)Want to add more panel support? See EditorManager::OpenEditorAndPanelsFromFlags() in src/app/editor/editor_manager.cc