Debugging tool to debug JS outside Max?

Roald Baudoux's icon

Hello,

I wonder to which extent it is possible to debug JS code outside Max as too often there's no way to get messages from post() displayed in the console.

I understand that only pure JS with no Max-specific data or object type could be used but it's OK for me. Which tool would you recommend?

Thank you for helping.