You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/development-testing/developer-tooling.mdx
+35
Original file line number
Diff line number
Diff line change
@@ -40,3 +40,38 @@ You can install the extension via the webstores for [Chrome](https://chrome.goog
40
40
While your app is in dev mode, the Apollo Client Devtools will appear as an "Apollo" tab in your web browser inspector. To enable the devtools in your app in production, pass `connectToDevTools: true` to the `ApolloClient` constructor in your app. Pass `connectToDevTools: false` if want to manually disable this functionality.
41
41
42
42
Find more information about contributing and debugging on the [Apollo Client Devtools GitHub page](https://github.com/apollographql/apollo-client-devtools).
43
+
44
+
## Apollo Client Devtools in VS Code
45
+
46
+
The Apollo VSCode extension ships with an instance of the Apollo Client Devtools.
47
+
You can use it to remotely debug your client, which makes it possible to also debug React Native and node applications.
48
+
49
+
The following sections walk through how to install and integrate with the extension.
50
+
51
+
<Note>
52
+
This feature is currently released as "experimental" - please try it out and give us feedback in our [GitHub issues](https://github.com/apollographql/vscode-graphql/issues)!
53
+
</Note>
54
+
55
+
* Install the Apollo VS Code extension: [start installation](vscode:extension/apollographql.vscode-apollo) | [marketplace page](https://marketplace.visualstudio.com/items?itemName=apollographql.vscode-apollo)
56
+
* Set the "Apollographql > Dev Tools: Show Panel" setting to "detect" or "always" in the VS code settings dialog.
57
+
<imgclass="screenshot"alt="A screenshot of the VS Code settings dialog focusing on the 'Show Panel' option"src="../assets/devtools/vscode-setting.png"/>
58
+
* In your code base, install the `@apollo/client-devtools-vscode` package:
59
+
```sh
60
+
npm install @apollo/client-devtools-vscode
61
+
```
62
+
* After initializing your `ApolloClient` instance, call `registerClient` with your client instance.
0 commit comments