You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
Hi,
I would like to know what's the best way o debug javascript when running mapreduce routines.
Thanks!
Daker Fernandes Pinheiro (dfp) Graduando em CC, turma 2007.2 CIn - UFPE
Лоик
unread,
May 30, 2010, 8:47:34 AM5/30/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
You can use the print() method. If it can't output to stdout ( I think it use stdout), It will print to the log file.
So if you put a print method, it will print things to your log file...
I'd use the mongo shell in a terminal.. and I would use tail -f "log file" to see the output flow in real time.
I heard about a way to debug js within firebug using the mongo shell emulator. Not sure if it works fine.