diff options
| author | Radon Rosborough <radon@intuitiveexplanations.com> | 2023-10-29 16:25:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-29 16:25:04 -0700 |
| commit | 4178439d438c923f1baccebb63e1edfb00a257a1 (patch) | |
| tree | ce14caf7b491f19a3abf8588d39951a73261afe2 /README.md | |
| parent | 7d3b061e3ecab6f407093b1727627550bcdea4b7 (diff) | |
[#226] Add debug logs (#235)
Adds a way to properly diagnose performance issues like those reported
in https://github.com/radian-software/apheleia/issues/226.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -221,7 +221,18 @@ Apheleia exposes some hooks for advanced customization: one of these returns non-nil then `apheleia-mode` is not enabled in the buffer. -## Known issues +## Troubleshooting + +Try running your formatter outside of Emacs to verify it works there. +Check what command-line options it is configured with in +`apheleia-formatters`. + +To debug internal bugs, race conditions, or performance issues, try +setting `apheleia-log-debug-info` to non-nil and check the contents of +`*apheleia-debug-log*`. It will have detailed trace information about +most operations performed by Apheleia. + +### Known issues * `process aphelieia-whatever no longer connected to pipe; closed it`: This happens on older Emacs versions when formatting a buffer with |
