Turn on debug line numbers on errors?

Turn on debug line numbers on errors?

avatar
(anonymous user)
Product: PowerShell Universal
Version: 4.2.8


I cannot find the place to turn on the line numbers when a powershell script errors out and it tells me x line number was the problem when it throws an error.

I looked in the doc and cannot find such a thing to make it surface the full error to the logs.

This does not show the line number that it errored out on…

    New-UDTypography -Text 'Home' -Id 'homeText'
    Write-Error "i have a problem"


All Comments (0)