Writing to the Debug Console - AL Developement

Is there a way to write to the debug console?

In C# you just write DEBUG.WriteLine() and you can write any data to the console which is super helpful when troubleshooting or debugging.



  • Hi Yann,

    Not quite sure exactly what it is that you want to do. What is it exactly that you want to write to the debugger and when?

    Personally I'm not aware of any way this could be done if inside the AL code, but VS Code is very extendable, so if you talk about doing or writing something before the actual debug session or so then maybe that would be possible.

    But otherwise I don't know, but I would be interested in knowing this too, including what part of it that would be super helpful?