Added .gitignore and hacks to debug plugin code