When running Symfony Console applications and an error/exception/warning occurs, such as:
[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: Invalid argument supplied for foreach()
it does not show the line number where the problem is, so it's difficult to locate.
Is there a way to show it?