I wrote a widget that I use for debugging: https://saqimtiaz.github.io/sq-tw/sandbox.html#%24%3A%2Fsq%2Fwidgets%2Faction-log
So within a macro you can do something like <$log $message="any descriptive text" myvalue=<<myvariable>> /> The output gets logged to the browsers developer console, which you can bring up with ctrl+shift+I and then choose the Console tab. On Wednesday, September 16, 2020 at 1:28:07 PM UTC+2, Bob Jansen wrote: > > I am trying to debug some TW code that is not working as expected. The > code is in a macro. I have tried to display the value of a variable but > that does not seem possible from within a macro. > > Are there any debugging facilities apart from dumpvariables which gives > way too much for me to follow? > > bobj > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/04196fb7-d9f8-4343-8f0f-e9b347f3812bo%40googlegroups.com.

