I am writing a task to import a XML. Debugging is a pain as both var_dump and print_r return seemingly empty objects for DOM objects like DOMElement and DOMNodeList list, looking so:
object(DOMElement)#330 (0) {}
object(DOMNodeList)#335 (0) {}
But they are not empty as I can read the values.
What debugging options have I instead?