Generalize debugging scheme
libuv extension now working too!