And I just wrote a post about logging in TW under node: http://dullroar.com/Logging%2520in%2520TiddlyWiki%2520under%2520node.html
On Wednesday, December 31, 2014 7:42:30 AM UTC-6, Jim Lehmer wrote: > > While writing a macro for my plugin I used all the techniques described in > the thread: > > *In-browser* > > - alert > - dumpvariables > - F12 > > *Node* > > - Console log > - Node error reporting in general > > One technique that works in-browser that I didn't see mentioned is the > *debugger > *statement. You can place it anywhere in Javascript you want to break in > the dev tools debugger. Basically: > > 1. Put in a debugger statement: > > var foo = 1; > debugger // Want to see what's happening in gonculate, so break here to > be able to step into it. > gonculate(foo); > > 2. Open the wiki and hit F12 to see the dev tools pane. > 3. Hit F5 or refresh button to reload. > 4. The Javascript debugger should then be stopped at your debugger > breakpoint and from there you can step into your code, inspect variables, > see the Javascript console for errors, etc. > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
