Introduction to the dsh-plugin-debugging Plugin
The dsh-plugin-debugging plugin is designed to address the issue in DSH development where configuration or code changes require a restart to take effect, providing agents with runtime diagnostics and in-place fix capabilities. It offers two types of tools—diagnostics and state changes—including listing instances, checking authentication, diagnosing plugin loading, detecting active mode, displaying configuration, signing cookies, hot-reloading code, and restarting the host. Installation can be done via npm or from source, and DSH must be restarted after installation. By default, the plugin disables the restart feature and presents a risk of resource leaks during hot reloading; however, apart from the restart tool, it enforces strict security permission controls, significantly reducing debugging costs and improving development efficiency.
Read More