Set up debugging env for plugin.