add debug support for spider