Support for PhantomJS debugging