@aaz what exactly are you trying to debug? my only thought would be that you would refactor the suitelet so that your non-UI business logic is separated into its own library file, then you could debug the library file using whatever script type the debugger can run.