more info about finding errors without debug mode

This commit is contained in:
Alan Hamlett 2017-04-22 14:03:27 -07:00
parent e940017181
commit a1e1910fef

View file

@ -48,7 +48,8 @@ Run `:WakaTimeDebugEnable` in Vim then run this Terminal command:
`tail -f ~/.wakatime.log` `tail -f ~/.wakatime.log`
Enabling Debug Mode writes Vim Script errors to your Vim Status Bar and tells [wakatime-cli][wakatime-cli] to write verbose logs to `$WAKATIME_HOME/.wakatime.log`. Enabling Debug Mode writes Vim Script errors to your Vim Status Bar and tells [wakatime-cli][wakatime-cli] to write verbose logs to `$WAKATIME_HOME/.wakatime.log`.
With Debug Mode enabled, the plugin sends data synchronously so disable it when finished debugging. Debug mode can make it hard to find the real error because of all the extra logging, so also try disabling Debug Mode while tailing `~/.wakatime.log` and editing files in Vim.
With Debug Mode enabled, the plugin sends data synchronously so disable it when finished debugging with `:WakaTimeDebugDisable`.
The [How to Debug Plugins][how to debug] guide shows how to check when coding activity was last received from Vim use the [User Agents API][user agents api]. The [How to Debug Plugins][how to debug] guide shows how to check when coding activity was last received from Vim use the [User Agents API][user agents api].
For more general troubleshooting info, see the [wakatime-cli Troubleshooting Section][wakatime-cli-help]. For more general troubleshooting info, see the [wakatime-cli Troubleshooting Section][wakatime-cli-help].