Debugging jasmine-node tests with node-inspector

In short, just debug jasmine-node: node –debug-brk node_modules/jasmine-node/lib/jasmine-node/cli.js spec/my_spec.js If you look at the source of the jasmine-node script, it just invokes cli.js, and I found I could debug that script just fine. I wanted to use node-inspector to debug a CoffeeScript test. Just adding the –coffee switch worked nicely, e.g. node –debug-brk node_modules/jasmine-node/lib/jasmine-node/cli.js –coffee … Read more

Python3 & PyCharm – Debug logging levels in run/debug

The problem has nothing to do with PyCharm, but with how logging configuration works. If you try to write the code you have shown in a normal python interactive session you get the same output: >>> import logging >>> logger = logging.getLogger(‘tipper’) >>> logger.setLevel(logging.DEBUG) >>> logger.debug(‘debug message’) >>> logger.info(‘info message’) >>> logger.warn(‘warn message’) warn message … Read more