"activate" command from SD doesn't activate apps

I noticed that when I use the activate command from within Script Debugger, the app doesn’t come to front as I would expect. The app comes to front for a fraction of a second - then SD returns to the front again.

For example (can be any other app):

tell application "Adobe InDesign 2020"
end tell

Is it expected behavior - or is something going wrong?

SD 7.0.12
macOS 10.15.4


Play with the settings in Preferences -> Execution.

got it - thanks Shane!