True, but I was getting annoyed by the trailing 'null'. The better version would be this, however:

```javascript
var debug = function () {
  if (debugging) 
     console.log(arguments);
}
```