Adds apollo inspector devtools to Google Chrome
Apollo Inspector Extension
Apollo Inspector is a Chrome extension designed to facilitate debugging of GraphQL operations within the open-source GraphQL client, Apollo Client.
## Purpose
The tool is indispensable for diagnosing a multitude of issues that may arise during GraphQL operations within Apollo Client. It provides insights into various aspects of operations, aiding in efficient debugging and optimization efforts.
## What kind of issues can be debugged using the tool
1. Identification of unwanted operations triggered during the render phase.
2. Diagnosis of reasons behind multiple re-renders of the same watch query.
3. Resolution of issues stemming from conflicting queries.
4. Presentation of field names in case of missing field errors.
5. Detailed time information to assess query execution patterns, including adherence to the Waterfall model.
6. Detection of delays in data being written to the cache.
7. Insight into the causes of operation failures.
## Key Features
1. Comprehensive Tracking: Tracks all types of operations including Query, Mutation, Subscription, and more.
2. Detailed Information: Provides essential details for each operation, such as name, type, execution status, fetch policy, execution time, queuing time, and result size.
3. Filtering Options: Filters available for efficient operation list management based on type, results source, and status.
4. Affected Queries View: Clear visualization of operations responsible for re-rendering queries.
5. JSON Data Copy: Ability to copy operation data in JSON format.
6. Cache: Copy or evict apollo client cache.
## Usage Instructions
To enable the Apollo Inspector extension:
1. Single Apollo Client Instance: If your web app has a single instance of Apollo Client, attach it to the `__APOLLO_CLIENT__` variable on the window object.
2. Multiple Apollo Client Instances: If your web app has multiple instances of Apollo Client, create an array (ClientObject[]) containing all instances and attach it to the `__APOLLO_CLIENTS__` variable on the window object.
For comprehensive guidance on how to use the extension, refer to the [official documentation](https://github.com/jpsahoo14/apollo-inspector-ui/blob/main/extension/readme.md).
Source Manifest.json
How to download and manually install Apollo Inspector extension for Chrome
Looking for a way to install Apollo Inspector extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install Apollo Inspector extensions manually, this article outlines two simple methods to effortlessly install Apollo Inspector extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download Apollo Inspector extension and manually install through Drag &Drop
If you ever need to manually install a Apollo Inspector extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the Apollo Inspector Extension by clicking the "Download CRX" button on the website.
Look for the Apollo Inspector extension you wish to install. Go to the website and download the Apollo Inspector extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Apollo Inspector extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the Apollo Inspector extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download Apollo Inspector extension for Chrome and install in Developer Mode
This is another method to install Apollo Inspector extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the Apollo Inspector extension file
Select and download the Apollo Inspector extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the Apollo Inspector extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Apollo Inspector extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the Apollo Inspector extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install Apollo Inspector extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
GraphQL DevTools 125 7 ★ 521KiB
Apollo Tracing 125 2 ★ 97.43KiB
Apollo Client Devtools 125 266 ★ 490KiB
Querio - GraphQL and HTTP requests inspector 125 8 ★ 2.1MiB
Apollo Lead Scraper by TaskAGI 125 2 ★ 16.95KiB
GraphQL developer tools 125 24 ★ 98.19KiB
Graphql-devtools 125 2 ★ 1.57MiB
GitHub S&M Blocker 125 5 ★ 147KiB
Lage 125 4 ★ 184KiB
writer.ai - Powered by ChatGPT 125 1 ★ 4.4MiB
DealMatch - Facebook Marketplace Deal Finder 125 10 ★ 13.49KiB
Wondrful: AI meeting summary and automation 125 0 ★ 241KiB
Password Generator 125 0 ★ 107KiB
GraphQL Network Inspector 125 123 ★ 8.34MiB
GraphQL state 125 0 ★ 1.16MiB
Social Media Analyzer 125 1 ★ 166KiB
Manifest Viewer 125 1 ★ 217KiB
Signadot 125 1 ★ 388KiB
Graphql Query Generator 125 5 ★ 1.9MiB
Live.VKvideo - Now 125 14 ★ 40.09KiB
Tiktok Finds 125 0 ★ 2.25MiB
Bundlephobia Web Extension 125 1 ★ 14.74KiB
Social Switch: Anonymous Instagram and TikTok 125 2 ★ 16.97KiB
Fiverr Gig Favourite Exchange Sheep 125 3 ★ 1.32MiB