Fix debug helper not inspecting when it can't convert to YAML

The debug helper should inspect the object when it can't be converted to YAML, this behavior was changed in 8f8d8eb1465069e2ed9b6f2404aa9d02e785f534

According to the documentation the helper should call inspect when converting to YAML fails.