File tree 2 files changed +9
-0
lines changed
documentation/for-developers
integration-tests/test-environment/.config/nvim
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -44,3 +44,10 @@ neovim->>neovim: apply changes to related files
44
44
neovim->>lsp: send 'renaming finished' notification (didRenameFiles)
45
45
neovim->>neovim: user saves changes
46
46
```
47
+
48
+ ## Debugging for developers
49
+
50
+ The e2e test environment should enable logging of all lsp requests and
51
+ responses. Each test run has its own log file, and you can find it in a
52
+ directory such as
53
+ ` integration-tests/test-environment/testdirs/dir-rNJosm/.local/state/nvim/lsp.log `
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ vim.o.swapfile = false
32
32
local thisfile = vim .fn .expand (" <sfile>" )
33
33
local repo_root = vim .fn .fnamemodify (thisfile , " :h:h:h:h:h:h:h" )
34
34
35
+ vim .lsp .set_log_level (" debug" )
36
+
35
37
-- for CI, use a single log file location and put it in a known location. This
36
38
-- way it's easy to display the log file contents after each test using
37
39
-- showYaziLog() and removeYaziLog().
You can’t perform that action at this time.
0 commit comments