Closed NullVoxPopuli closed 4 months ago
how should this be tested? :thinking: (I'm new here)
@NullVoxPopuli testing same as debugging - https://github.com/ember-tooling/vscode-ember/blob/master/DEBUGGING.md In short, we need to bundle LS and check how it's works in VSCode extension (or other env's)
Run debugger Client + Server
what is this step?
I think something may have been lost in the repo move, perhaps -- there is no Launch Client :sweat_smile:
@NullVoxPopuli click on BUG + PLAY
icon and select "Client + Server" preset
@NullVoxPopuli configs for debugging located here: https://github.com/ember-tooling/vscode-ember/blob/master/.vscode/launch.json#L35
hm, why isn't my breakpoint bound?
Looks like debugger not connected to LS, or LS not running (try do some code action to initialise LS)
I think I can confirm this works
still struggling with getting any breakpoint to hit tho :sweat_smile:
I want to try Promise.race
@NullVoxPopuli thank you for contribution, fix should be available in VScode - https://github.com/ember-tooling/vscode-ember/releases/tag/v3.0.57
ember-template-lint support mjs, so we should key off that, when possible -- I also added cjs because it's spiritually equiv to js in v1 apps right now.
Without this change, we can see
ember-template-lint
working in the terminal, but not in editors.