-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug vscode ts extension #35
Comments
For those having the same issue, check this thread to debug an installed vscode app https://stackoverflow.com/questions/39003860/how-can-i-debug-installed-vscode-extensions I didn't manage to make the source map work to debug ts files, but it's a good start to be able to debug js files |
@Th3CracKed please check out the Marquee project where I use this package for e2e testing. When a test fails it shows me the correct ts lines. Setting up a TypeScript project is not particular something this project is concerned about. Can you specify what improvements you like to see to have this issue closed? |
@christian-bromann thanks for your answer, The stack trace are showed correctly for ts files. |
Do you have any concrete suggestions how we can improve this? |
being able to debug extension in vscode launched by wdio vscode. Now I use logging to understand what's happening on the extension |
Setting breakpoints in your extension code and have the test stop at these points is surely possible in some way. |
@christian-bromann my observation is that when debugging with wdio-vscode-service, neither placing Placing The issue is that on startup a socket to VS Code is opened, but once VS Code opens a folder/project, the socket is closed and |
Yeah, it would be very difficult to support breakpoints within the extension. Again, as mentioned before: probably possible, no idea how though. |
Is there any example how to setup a vscode debug configuration to debug extension running in wdio vscode environment.
A typescript configuration example would be appreciated.
thanks
The text was updated successfully, but these errors were encountered: