Setapp, Safari, and Debugging

Is there some way to debug scripts as documented in the user guide (Creating Scripts · TaskPaper User's Guide) with the Setapp version?

Yes, I think it should work as described in user guide… though I just noticed that the example script on that page has a syntax error. Instead it needs to be:

function TaskPaperContextScript(editor, options) {
    debugger;
}

Application("TaskPaper").documents[0].evaluate({
  script: TaskPaperContextScript.toString()
})
1 Like