# \#ioinspect

**URL:** https://forum.elixirforum.com/tag/ioinspect/1638.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Untangle - logging and inspecting with code location information](https://forum.elixirforum.com/t/untangle-logging-and-inspecting-with-code-location-information/49944)

<div class="topic-metadata">

**Author:** [@mayel](https://forum.elixirforum.com/u/mayel)\
**Replies:** 3\
**Last updated:** [August 12, 2024, 12:48pm UTC](https://forum.elixirforum.com/t/untangle-logging-and-inspecting-with-code-location-information/49944 "2024-08-12T12:48:22Z")

</div>

Untangle provides alternatives for IO.inspect and the macros in Elixir’s Logger to output code location information. It also provides a polyfill for calls to dbg which was introduced in Elixir 1.14 (it won’t give you the…

---

## [Pretty - inspect values with syntax colors despite your remote console](https://forum.elixirforum.com/t/pretty-inspect-values-with-syntax-colors-despite-your-remote-console/33729)

<div class="topic-metadata">

**Author:** [@garthk](https://forum.elixirforum.com/u/garthk)\
**Replies:** 1\
**Last updated:** [August 15, 2020, 8:27pm UTC](https://forum.elixirforum.com/t/pretty-inspect-values-with-syntax-colors-despite-your-remote-console/33729 "2020-08-15T20:27:27Z")

</div>

Pretty addresses two surprises you’ll encounter trying to dump data to the remote console like you did during development with iex -S mix: IO.inspect/1 et al work fine at the iex\> prompt but somehow not when called f…

---

## [Why does IO.inspect prints literally "\\n" instead of a return line?](https://forum.elixirforum.com/t/why-does-io-inspect-prints-literally-n-instead-of-a-return-line/27722)

<div class="topic-metadata">

**Author:** [@thojanssens1](https://forum.elixirforum.com/u/thojanssens1)\
**Replies:** 11\
**Last updated:** [December 22, 2019, 4:11am UTC](https://forum.elixirforum.com/t/why-does-io-inspect-prints-literally-n-instead-of-a-return-line/27722 "2019-12-22T04:11:37Z")

</div>

When executing the following: IO.inspect Inspect.Ecto.Query.to\_string(from u in User, where: u.id == ^1) special characters such as \\n are printed literally. "from u0 in MyApp.User,\\n where: u0.id == ^1" However, i…

---

## [Is there a way to inspect a list of integers without accidentally ending up with a charlist?](https://forum.elixirforum.com/t/is-there-a-way-to-inspect-a-list-of-integers-without-accidentally-ending-up-with-a-charlist/26504)

<div class="topic-metadata">

**Author:** [@Ninigi](https://forum.elixirforum.com/u/Ninigi)\
**Replies:** 12\
**Last updated:** [November 1, 2019, 3:53pm UTC](https://forum.elixirforum.com/t/is-there-a-way-to-inspect-a-list-of-integers-without-accidentally-ending-up-with-a-charlist/26504 "2019-11-01T15:53:47Z")

</div>

Story skip this if you are not interested in the Why Today I was working on a rewrite of a feature, heavily relying on a 3rd Party HTTP API response, no tests available yet, so I decided to bite the bullet and do what …

---

## [Inconsistent Enum.map output](https://forum.elixirforum.com/t/inconsistent-enum-map-output/23337)

<div class="topic-metadata">

**Author:** [@rameshkumar](https://forum.elixirforum.com/u/rameshkumar)\
**Replies:** 2\
**Last updated:** [June 23, 2019, 5:10am UTC](https://forum.elixirforum.com/t/inconsistent-enum-map-output/23337 "2019-06-23T05:10:04Z")

</div>

Hi, I’m a little dumbfounded with the following iex session that I ran: iex(7)\> Enum.map(\[4,5,6\], &(2 \* &1)) '\\b\\n\\f' iex(8)\> Enum.map(\[1,5,6\], &(2 \* &1)) \[2, 10, 12\] iex(9)\> Enum.map(\[1,2,3\], &(2 \* &1)) \[2, 4, 6\] ie…
