Skip to content
Development
Command

/devtools

Get DevTools connection information for debugging a Tauri application

From plugin
claude-command-suite
1.3k199 skills89 agents199 commands
Install
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/devtools

Context preview

What this command does when you run it.

Get DevTools connection information for debugging a Tauri application

Command definition

devtools.md
name: rust:tauri:devtools
description: Get DevTools connection information for debugging a Tauri application
allowed-tools: mcp__tauri-mcp__get_devtools_info
author: Quintin Henry (https://github.com/qdhenry/)

<objective> Retrieve DevTools connection information for a running Tauri application, enabling browser-based debugging of the webview. </objective>

<instructions> Get DevTools info for the Tauri application: **$ARGUMENTS**

Arguments: `[process_id]`

Process

1. **Query DevTools Information** Use `mcp__tauri-mcp__get_devtools_info` with the process ID.

2. **Provide Connection Instructions** Show how to connect to DevTools for debugging.

Usage Examples

# Get DevTools connection info
/tauri:devtools 12345

</instructions>

<output_format>

=== DevTools Information ===
Process ID: [PID]

--- Connection ---
Debug Port: [port]
WebSocket URL: [ws://...]
HTTP URL: [http://...]

--- How to Connect ---
1. Open Chrome/Edge browser
2. Navigate to: chrome://inspect
3. Click "Configure..." and add: localhost:[port]
4. Your app should appear under "Remote Target"
5. Click "inspect" to open DevTools

--- Alternative ---
Direct URL: [devtools://devtools/bundled/inspector.html?ws=...]

</output_format>

<debugging_tips> **What You Can Do with DevTools:**

  • Inspect DOM elements and styles
  • Debug JavaScript with breakpoints
  • Monitor network requests
  • Profile performance
  • View console logs and errors
  • Inspect localStorage/sessionStorage

**Common Debug Tasks:**

  • Check for JavaScript errors in Console
  • Inspect React components (with React DevTools)
  • Monitor Tauri IPC calls in Network tab
  • Profile rendering performance

</debugging_tips>

Read more
Ships withclaude-command-suite

A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.

Get the whole plugin