--- layout: doc title: WebDebug Module - Codeception - Documentation --- # WebDebug Module **For additional reference, please review the [source](https://github.com/Codeception/Codeception/tree/master/src/Codeception/Module/WebDebug.php)** This is a mini-module with helper actions to debug acceptance tests. Use it with Selenium, Selenium2, ZombieJS, or PhpBrowser module. Whenever none of this modules are connected the exception is thrown. ### Status * Maintainer: **davert** * Stability: **stable** * Contact: codecept@davert.mail.ua ### Configuration: * disable: false (optional) - stop making dumps and screenshots. Useful when you don't need debug anymore but you don't wanna change the code of your tests. ### Features * save screenshots of current page * save html (xml, json) code of current page * more to come... ### Example configuration {% highlight yaml %} yaml class_name: WebGuy modules: enabled: - Selenium - WebDebug # <-- this module - WebHelper - Db config: Selenium: url: http://web.tenderway browser: firefox {% endhighlight %} ### Actions #### getName __not documented__ #### makeAResponseDump Saves current response content to `_logs/debug/` By default a response is treated as HTML, so all stored files will have html extension Optionally you can provide a dump name. * param $name #### makeAScreenshot Saves screenshot of browser window and saves to `_logs/debug/` Optionally you can provide a screenshot name. * param $name