Action

Add debug Info

Posted by RoyRogers, Last update over 4 years ago

Insert debug info line:
will capture console.log as text to file or alert()

Relies on this code: https://actions.getdrafts.com/a/15d

Steps

  • insertText

    template
    require('debug.js'); // use at start of code!
    // will capture console.log as text to file or alert()
    
    // Insert this line anywhere in code:
    console.log(linenumer, variable, etc) // line number first param!
    

Options

  • After Success Nothing
    Notification Error
    Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.