From e94001718155661356b912bbf1de8f75818588e3 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Sat, 22 Apr 2017 14:00:33 -0700 Subject: [PATCH] improve troubleshooting steps --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bacc5e7..df7b8f4 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,11 @@ WakaTime plugins share a common config file `~/.wakatime.cfg` located in your us Troubleshooting --------------- -Run `:WakaTimeDebugEnable` in Vim to see errors output in your status bar. -Enabling Debug Mode also writes verbose logs to `$WAKATIME_HOME/.wakatime.log` from [wakatime-cli][wakatime-cli]. +Run `:WakaTimeDebugEnable` in Vim then run this Terminal command: + +`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`. With Debug Mode enabled, the plugin sends data synchronously so disable it when finished debugging. 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].