Add DEBUG logging to help testing
switch to unix-style matching for projects