replace dummyplugins.c with DEBUG flag