I am porting a scripting tool to Pro v3. The error messages returned by my scripting tool return a line where the code failed but this line number is not the same as the line number in my Python IDE where I am writing the code.
Here is the error message returned from the ArcToolbox scripting tool:
Here is where the code failed (although I have the code sorted out now).
My question is why is the scripting tool error message not returning the same line as the Python code? How is it possible to debug scripts in Pro if you cannot determine the correct line of code that is failing?
@ShaunWalbridge you may want to look into this or pass it along