what is the best way to debug chain method calls? ...
# intellij
e
what is the best way to debug chain method calls?
Copy code
listOf(1, 2, 3, 4, 5)
  .map { n -> n * (n + 1) / 2 }
  .mapIndexed { (i, n) -> "Triangular number $i: $n" }
can i inspect
map
result?