Use the Debug | Step to Cursor command to execute until the line the cursor is on is the current line. Start the script before using this command.