Update readme, add debug code, add install note, fix failed to log activated_plugin