Added promiseChain debug helper.