Correction:
Sometimes the debugger shows the cursor in
function runningApp = runApp(appFullFileName, appArguments)
% run app for web app (WebrAppRunner) or run app in app designer (DesktopAppRunner)
% runing app in MATLAB does not call this function
command = appdesigner.internal.service.AppManagementService.prepareCommand(appFullFileName);
if nargin == 1 % Yes, nargin is 1
appArguments = '';
end
runningApp = evalin('base', sprintf('%s(%s);', command, appArguments)); % Debugger stops here?
end