What problem does it solve?
This Skill enhances the TanStack Devtools experience within Vite projects by providing advanced debugging capabilities like source code inspection, console log piping, and editor integration.
Core Features & Use Cases
- Source Inspection: Enables "Go to Source" functionality by adding
data-tsd-source attributes to JSX elements, allowing direct navigation to component source code from the browser.
- Console Piping: Facilitates bidirectional console logging between the browser and the server, making debugging SSR or server-side logic easier.
- Editor Integration: Allows opening source files directly in your configured code editor via hotkeys or specific commands.
- Use Case: When debugging a complex React application built with Vite, you can use the "Go to Source" feature to instantly jump from a rendered component in the browser to its exact location in your codebase.
Quick Start
Add the devtools plugin to your vite.config.ts file.