Add method option to debug.php .