STAR TREK 2d20

Thread: Debug extension

  1. #1

    Debug extension

    UPDATE: Debug.ext is now available on the Downloads page under Utilities.

    Hey all,

    Here is a Debug extension that I built while I am debugging my rulesets.

    Once you add the extension, just insert one of these 2 calls into your ruleset code to inspect the contents of variables.

    Debug.chat(...)
    Debug.console(...)

    Any parameters to these 2 functions will output to the chat window or console window, respectively. I usually use the chat window output myself, unless I need to debug something on initial ruleset load or shutdown. The console messages also get saved to the console.log file.

    Cheers,
    JPG
    Last edited by Moon Wizard; May 24th, 2011 at 06:56.

  2. #2
    Nice! thank you!

  3. #3
    I've posted an updated debug extension on the Downloads page under utilities. If I update, I'll post a note in the workshop forum.

    Regards,
    JPG

  4. #4
    ok, thank you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in