microsoft / typescript-lit-html-plugin

TypeScript server plugin that adds intellisense for lit-html template strings
MIT License
253 stars 20 forks source link

Debugging via VSCode launch config #21

Closed csvn closed 5 years ago

csvn commented 5 years ago

Hello,

I saw that there is a launch.json configuration, but I could not figure out how to actually debug this plugin. I started the compile watch task, and tried to follow this Typescript guide on debugging language services (it seemed similar), but could not get it to stop at any breakpoints.

I was planning on taking a look at #19, but it's much harder to reason about without some running code for context 😅

I could add a section to the README.md if I get some hints to get it working (if it's possible to debug).