ember-tooling / ember-language-server

Language Server Protocol implementation for Ember.js projects
MIT License
100 stars 39 forks source link

Add debugging instructions for testing in real projects #409

Closed NullVoxPopuli closed 2 weeks ago

NullVoxPopuli commented 1 month ago

the DEBUGGING.md covers the basics and the relationship with vscode-ember, but the tests are within small projects.

For reproducing real issues in projects, it'd be good to explain how to best compile the vsix, and then install it for local testing.

(I'm still working this out, something has gone wrong currently... script execution order might matter 🤔 )

NullVoxPopuli commented 1 month ago

oh it looks like you follow the instructions and just open whatever folder -- I was thinking about this backwards? maybe? How can I be sure the LS I'm using is the local one, and not the published copy?

NullVoxPopuli commented 1 month ago

hm, "Client + Server" doesn't hit any of my breakpoints in the server.

lifeart commented 2 weeks ago

@NullVoxPopuli here is logic for loading debugging bundles: https://github.com/ember-tooling/vscode-ember/blob/master/server.js#L3

NullVoxPopuli commented 2 weeks ago

Thank you!