It's easy to load the script for a media processing worker directly into a Web page and test/debug it there without using MediaStreams. This page demonstrates one way to do it.