Hi
I was wondering if there was a way to see the line in the PowerShell script that is being executed during a debug process? I probably need to enable a setting but not sure which one or where.
thank you
Debug line by line
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Debug line by line
When you are debugging (F5) there is a yellow arrow indicating what line you are on:
David
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- jrremillard
- Posts: 58
- Last visit: Sun Aug 08, 2021 7:42 am
Re: Debug line by line
Thanks for the response but I am not getting that. I have a 37 line script and if I hit f5 I get a red lined box around the script and errors that show up in the output window.
- Ferdinand Rios
- Posts: 373
- Last visit: Fri Sep 16, 2022 1:24 pm
Re: Debug line by line
Be sure to set a breakpoint in your code. Then you can step through it one line at a time.
F.G. Rios