How to debug automated steps

Nekton automated steps are written in TypeScript.

Here are some tips on how to troubleshoot and debug your code steps:

  • Add logging to see the values of variables and see the progress of your code. You can add
    console.log("loaded data"); inside your code, or log the variables like this: console.log(myVariable);

  • Try another automation. Every time you click on “Automate” button, a new variant of code is generated.