I created an installable trigger in a standalone script.
When I change something in the target spreadsheet, nothing happens. I don't get to a brekpoint in onEdit.
So how do I set up the trigger and onEdit to detect Edits?
ScriptApp.newTrigger('myOnEdit'){
  .forSpreadsheet('1wfcYwChzLmbqxoXoSZUrXgZJIVbtEyNUIpfxmJihAcY')
  .onEdit()
  .create();
)
function onEdit(e){
  // Set a comment on the edited cell to indicate when it was changed.
  var range = e.range;
  var ct = e.changeType
  var ov=e.oldValue
  var nv =e.value
  var sc=e.triggerUid
  range.setNote('Last modified: ' + new Date());
}
 
     
    