<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/debugging-complex-data-in-liveview-ktrekjee3" -->

---
title: Debugging Complex Data in LiveView | daily.dev
description: Learn how to debug complex data in LiveView by using the &#x27;inspect&#x27; function with the &#x27;pretty: true&#x27; option and the HTML &#x27;pre&#x27; tag.
canonical: https://daily.dev/posts/debugging-complex-data-in-liveview-ktrekjee3
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Debugging Complex Data in LiveView | daily.dev
og:description: Learn how to debug complex data in LiveView by using the &#x27;inspect&#x27; function with the &#x27;pretty: true&#x27; option and the HTML &#x27;pre&#x27; tag.
og:url: https://daily.dev/posts/debugging-complex-data-in-liveview-ktrekjee3
og:image: https://api.daily.dev/og/posts/KtReKJee3.png
og:image:alt: Debugging Complex Data in LiveView
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Debugging Complex Data in LiveView

**[DockYard](https://daily.dev/sources/dockyard)** · 2 min read · 0 upvotes · 0 comments

## Summary

Learn how to debug complex data in LiveView by using the 'inspect' function with the 'pretty: true' option and the HTML 'pre' tag.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dockyard.com/blog/2024/04/04/debugging-complex-data-in-liveview>

---

Tags: [#elixir](https://daily.dev/tags/elixir), [#general-programming](https://daily.dev/tags/general-programming), [#liveview](https://daily.dev/tags/liveview), [#webdev](https://daily.dev/tags/webdev)

[View this post on daily.dev](https://daily.dev/posts/debugging-complex-data-in-liveview-ktrekjee3)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Debugging Complex Data in LiveView","url":"https://daily.dev/posts/debugging-complex-data-in-liveview-ktrekjee3","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/debugging-complex-data-in-liveview-ktrekjee3"},"datePublished":"2024-04-04T22:49:19.459Z","dateModified":"2026-03-15T04:44:06.672Z","description":"Learn how to debug complex data in LiveView by using the 'inspect' function with the 'pretty: true' option and the HTML 'pre' tag.","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/43343fcc7592b29610d9f6fa18b31d94?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/43343fcc7592b29610d9f6fa18b31d94?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"DockYard","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"DockYard","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0a287d5bf0264b359ea2e5dd2c7635aa","url":"https://daily.dev/sources/dockyard"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/debugging-complex-data-in-liveview-ktrekjee3","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"elixir,general-programming,liveview,webdev","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DockYard","item":"https://daily.dev/sources/dockyard"},{"@type":"ListItem","position":3,"name":"Debugging Complex Data in LiveView"}]}
```

