Add debug option for wordpress