1c-debug-hmr

Debug 1C:Enterprise BSL code through a persistent MCP wrapper with hot-module reload.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Alex1980Alex/1C-Framework --skill 1c-debug-hmr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 1c-debug-hmr
Source: https://github.com/Alex1980Alex/1C-Framework/tree/main/.claude/skills/1c-debug-hmr
Command: npx skills add https://github.com/Alex1980Alex/1C-Framework --skill 1c-debug-hmr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill gives you a reliable way to debug 1C:Enterprise BSL code without losing your session, even when the debug server restarts or the target process changes.

Core Features & Use Cases

  • Persistent MCP debugging for BSL breakpoints, stepping, variables, stack traces, and expression evaluation.
  • Hot-module reload so edits to the debug wrapper take effect without reconnecting to the MCP session.
  • Advanced workflows such as logpoints, warm rphost handling, thin-client launch, replay, and coverage export.
  • Use it when you need to investigate a failing business rule, verify a breakpoint in a live infobase, or iterate on the debug server itself.

Quick Start

Ask the skill to connect to your 1C infobase, set a breakpoint in the target BSL module, and inspect the stopped stack and locals when execution pauses.

Frequently Asked Questions about 1c-debug-hmr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug 1C BSL code without losing my session when the debug server restarts?

You can debug 1C BSL code with session persistence by using a persistent MCP wrapper that maintains breakpoint state and recovers automatically, even when the debug server restarts or the target process changes.

Can I set breakpoints and inspect variables in a live 1C infobase?

Yes, you can set breakpoints, inspect stopped stack frames, evaluate variables, and step through BSL code execution in a live 1C infobase by attaching to the target process via RDBG HTTP connectivity.

Does hot-module reload work for 1C BSL debug wrapper development?

Hot-module reload applies edits to the debug wrapper directly without requiring reconnection to the MCP session, allowing live iteration on the debug server itself while maintaining active breakpoint propagation.

What is needed to attach a debugger to 1C:Enterprise with warm rphosts?

Attaching a debugger to 1C:Enterprise with warm rphosts requires RDBG HTTP connectivity, guarded handling of pre-existing rphost processes, target attachment, and breakpoint propagation to ensure a stable debugging session.

How do I use logpoints to investigate a failing 1C business rule?

You can use logpoints to investigate failing 1C business rules by injecting logging statements at specific BSL module lines without stopping execution, capturing variable state and expression evaluation output during runtime.

What are the limitations of debugging thin-client launch workflows in 1C?

Thin-client launch workflows require guarded handling to avoid disrupting pre-existing sessions, and breakpoint propagation depends on stable RDBG HTTP connectivity, meaning network interruptions can pause debugging state recovery.