try async way
fix cb not called on pattern mismatch
remove sync dependency
debug empty string from pdc
use pdc 0.2.2 which fixes async call to pandoc, refine debug messages