Proof of concept, implemented in C
app template: https://github.com/oopsmonk/iota_c_templates
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$PWD .. && make -j8
# run the example
./my_app -t 1 -a 10
mkdir debug && cd debug
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$PWD .. && make -j8
# run the example, you can run gdb...
./my_app -t 1 -a 10