How to Debug Custom Database Action Scripts

Hi,

I am building an Action Script to test the automatic migration of our existing users to the Auth0 database. I have followed the steps to set this process up, and have built my action script for Login.

When running the “Save and Try” option for the script, I’ll get back errors about the script failing for various reasons, however I’m not sure how to get more fine-tuned debugging of the script.

Many of the Action Script Templates show console.log() being used, however when I open the developer tools there are no logs present when I running the “Save and Try” login script. Where may I view the log information for testing an Action Script? Or where is the better place to test and develop such scripts?

3 Likes

Hi @erik.griffin,

Welcome to the Auth0 Community!

I understand you have questions on how to debug your custom database scripts.

To do so, there is the option to use the Auth0 Real-time Webtask Logs Extension to view those console.log outputs and exceptions.

This should help provide more context to the errors in your Login script.

Please let me know if you have any further questions.

Thank you.

4 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.