• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] Error with debug log messages

  • 7
    Posts
    7
    Years
    • Seen Apr 3, 2021
    Hello,

    I'm trying to log some data into debuglog.txt using PBDebug.log("Hello") but the file is not recording anything. I have created it manually at Data/debuglog.txt but still nothing appears.
    I have also checked the PBDebug module but I do not see anything wrong, can anyone help me?

    Is there any other way to log variable and messages?

    Thanks in advance
     
    The messages are logged, but they're not written into debuglog.txt by default. There's a Debug option that enables battle logging (which means it writes the messages into debuglog.txt).
     
    Thanks, I changed a little bit the PBDebug script to use it for my purposes and with that tip I got what I want
     
    Back
    Top