enhanced code to make it easier for plugin devs to debug their plugin.
Based on PC9s code (https://forum.myrcon.com/showthread.php?5645-Any-help-for-starting-out) but moved to GenerateCompilerParameters().
maybe this can also help / be a start for #73.