ember-language-server icon indicating copy to clipboard operation
ember-language-server copied to clipboard

Add debugging instructions for testing in real projects

Open NullVoxPopuli opened this issue 1 year ago • 2 comments

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 avatar Oct 23 '24 19:10 NullVoxPopuli

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 avatar Oct 23 '24 21:10 NullVoxPopuli

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

NullVoxPopuli avatar Oct 23 '24 21:10 NullVoxPopuli

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

lifeart avatar Nov 07 '24 19:11 lifeart

Thank you!

NullVoxPopuli avatar Nov 07 '24 19:11 NullVoxPopuli