···2424```
25252626now restart your TS-server and you should be good to go
2727+2828+## Local development
2929+3030+Run `yarn` in both `/` as well as `/example`.
3131+3232+Open two terminal tabs, one where you run the build command which is `yarn tsc` and one
3333+intended to open our `/example`, most of the debugging will happen through setting breakpoints.
3434+3535+Run `TSS_DEBUG_BRK=9559 code example` and ensure that the TypeScript used is the one from the workspace
3636+the `.vscode` folder should ensure that but sometimes it fails. When we use `TSS_DEBUG_BRK` the plugin
3737+won't run until we attach the debugger from our main editor.
3838+3939+After makiing changes you'll have to re-open said editor or restart the TypeScript server and re-attach the
4040+debugger. Breakpoints have to be set in the transpiled JS-code hence using `tsc` currently so the code is a
4141+bit easier to navigate.
+1-4
example/src/fragment.generated.ts
···104104105105export type PokemonFieldsFragment = { __typename?: 'Pokemon', id: string, name: string };
106106107107-export type MorePokemonFieldsFragment = { __typename?: 'Pokemon', id: string, name: string };
108108-109109-export const PokemonFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"pokemonFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Pokemon"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode<PokemonFieldsFragment, unknown>;
110110-export const MorePokemonFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"morePokemonFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Pokemon"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode<MorePokemonFieldsFragment, unknown>;107107+export const PokemonFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"pokemonFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Pokemon"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode<PokemonFieldsFragment, unknown>;
+1-2
example/src/fragment.ts
···55 id
66 name
77 }
88-`
99-88+` as typeof import('./fragment.generated').PokemonFieldsFragmentDoc
109// TODO: how to type
1110// export const PokemonFields = gql`
1211// fragment pokemonFields on Pokemon {