Skip to main content
Glama
nfodor

Chromium ARM64 Browser

by nfodor

run_debugger_mode

Activate debugger mode to identify and resolve application issues in the Chromium ARM64 Browser. Supports detailed diagnostics for web testing and browser automation on ARM64 devices.

Instructions

Run debugger mode to debug issues in the application

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the run_debugger_mode tool. It ensures Chromium is running, evaluates a JavaScript expression on the page to collect debug information (URL, user agent, dimensions, performance metrics), parses the result, and returns it as a formatted text response.
    async runDebuggerMode() { await this.ensureChromium(); const result = await this.sendCDPCommand('Runtime.evaluate', { expression: ` JSON.stringify({ url: window.location.href, userAgent: navigator.userAgent, screenSize: \`\${screen.width}x\${screen.height}\`, viewportSize: \`\${window.innerWidth}x\${window.innerHeight}\`, performance: { memory: performance.memory ? { used: Math.round(performance.memory.usedJSHeapSize / 1024 / 1024) + 'MB', total: Math.round(performance.memory.totalJSHeapSize / 1024 / 1024) + 'MB' } : 'Not available', timing: performance.timing ? { pageLoad: performance.timing.loadEventEnd - performance.timing.navigationStart + 'ms', domReady: performance.timing.domContentLoadedEventEnd - performance.timing.navigationStart + 'ms' } : 'Not available' } }); `, returnByValue: true }); const debugInfo = JSON.parse(result.result?.value || '{}'); return { content: [{ type: 'text', text: `Debugger Mode Results:\\n${JSON.stringify(debugInfo, null, 2)}` }], }; }
  • index.js:319-326 (registration)
    Tool registration object defining the name, description, and input schema (empty object) for 'run_debugger_mode' in the MCP server's tools list.
    { name: 'run_debugger_mode', description: 'Run debugger mode to debug issues in the application', inputSchema: { type: 'object', properties: {}, }, },
  • Input schema definition for the run_debugger_mode tool, specifying an empty object (no required parameters).
    inputSchema: { type: 'object', properties: {}, },
  • index.js:389-390 (registration)
    Dispatch registration in the CallToolRequestSchema handler switch statement that routes calls to the runDebuggerMode method.
    case 'run_debugger_mode': return await this.runDebuggerMode();

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nfodor/mcp-chromium-arm64'

If you have feedback or need assistance with the MCP directory API, please join our Discord server