  function updateDebugInfo() {
            const debugDiv = document.getElementById('debug-info');
            if (debugDiv) {
                try {
                    const stateManagerInstance = juris.getHeadlessComponent('stateManager');
                    if (stateManagerInstance && stateManagerInstance.api) {
                        const api = stateManagerInstance.api;
                        const stats = api.getCacheStats();
                        const paths = api.debug.listStatePaths();

      