Add launch tests to launch.json#320
Conversation
|
Thank you for trying to solve this! I tried it but I get the same error I was getting with my earlier attempt: The problem I have is that it doesn't do TypeScript to JavaScript compilation step. If the |
|
@andycraig Thanks for testing! I update the |
|
So that's what was needed! This works for me on Ubuntu. I tested 'Launch Extension' and 'Extension Tests' in Ubuntu and confirmed that both use the current code. I will test on Windows a little bit later and will post the results. |
|
The However, the breakpoints do not work for some reason. I'm trying to figure out why. It used to be working a few weeks ago. Do breakpoints work for you? |
|
On Windows, 6c80773 (previous commit) works for me but the current commit gives me the 'Cannot find module' error. On Ubuntu, both work. Breakpoints don't work for me but they haven't been working for me for a while now. |
|
@andycraig Does the latest commit work for you on Windows? It works for me on both Ubuntu and macOS. The breakpoints also work well on Ubuntu but not on macOS. No clue at the moment. |
|
The latest commit works for me on Windows. And breakpoints work now too! Thank you! |
|
Thanks for testing! |
This PR adds a launch configuration to run extension tests according to https://code.visualstudio.com/api/working-with-extensions/testing-extension#debugging-the-tests.