Is there a way to specify command line arguments to a script before starting to debug? I have a script that begins
on run argv
But I can’t run it in ScriptDebugger without passing arguments.
Is there a way to specify command line arguments to a script before starting to debug? I have a script that begins
on run argv
But I can’t run it in ScriptDebugger without passing arguments.
You can do a test like this:
on run argv
if (argv = me) then
set argv to {1, 2, 3} -- whatever
end if