Skip to content
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

Fix filepaths of diagnostics reported from .. included:: files #433

Merged
merged 5 commits into from
Jul 31, 2022

Conversation

alcarney
Copy link
Member

As noted in #425

Now if you run the test suite with the environment variable
`USE_DEUBGPY` set `pytest_lsp` will launch the server wrapped in a
`debugpy` instance so it can (in theory) be debugged.

This also adds a launch configuration to VSCode that connects to an
existing `debugpy` instance. However, I am haven't been able to
successfully connect yet.
Now that `pytest_lsp` prints captured log messages on failure, it's
useful to be able to control the log level of servers under test.
This can be done by setting the `SERVER_LOG_LEVEL` environment variable.
e.g.

   SERVER_LOG_LEVEL=debug pytest tests/sphinx-default
@alcarney alcarney merged commit ac82d4e into swyddfa:develop Jul 31, 2022
@alcarney alcarney deleted the diagnostics branch July 31, 2022 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant