neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.05k stars 68 forks source link

How can coc-tsserver be debugged to figure out why it can't find a definition? #425

Open filipegiusti opened 1 year ago

filipegiusti commented 1 year ago

I couldn't craft a tsconfig.json file that works with the aliases I have defined for both Parcel on package.json and storybook on .storybook/main.js.

How can I debug coc.nvim using coc-tsserver to understand how tsserver is resolving dependencies? I couldn't find a way to start the tsserver with --traceResolution.

chemzqm commented 10 months ago

I Can't figure out option --traceResolution https://github.com/microsoft/TypeScript-wiki/blob/main/Standalone-Server-(tsserver).md