# Debugging native Node.js modules

The equivalent to `console.log` in JS is [`fprintf`](https://www.tutorialspoint.com/c_standard_library/c_function_fprintf.htm) in C++

```cpp
fprintf(stderr, "Heya, some-number: %d and other stuff\n", 3);
```
