add debug plugin tool

use 'debugplugin.txt' dynamic path to real plugin