09-20-2023, 05:44 PM
One feature that was added in the last release (that I haven't done a very good job of publicizing yet) that can help with troubleshooting is the Console library. This lets you write logging messages to the QBJS console window based on a log level. You can click the message in the log and it will take you to the corresponding line of code.
If you just want to print text to the console window and you don't really care about line numbers, you can use the Console.Echo method.
If you just want to print text to the console window and you don't really care about line numbers, you can use the Console.Echo method.