ERROR: "No Target for debugging configured in the settings."

ERROR: "No Target for debugging configured in the settings."

I compiled a Runtime Add-In and imported it in the zenon editor. I tried to run the debugger i Visual Studio but instead get the following error:

ERROR: No Target for debugging configured in the settings. To set a Debug Target, open tab "Add-In" in project properties.

Where does one configure this target?

Incidentally the debugger works for a different Add-In. I can't see how the configuration for it differs though.

zenon 8.20
Visual Studio 2019

This is a migrated post! Originally posted on 10.05.2021 by user ivavid. Please be aware that information can be outdated.