I would like to fully understand Tensorflow mechanisms. To complete the task, I would like to build a debug library of Tensorflow 2.4, write a program using Tensorflow’s C++ API, link my object files to the Tensorflow debug library and debug the program using gdb/cuda-gdb. Can I get specific steps of building the debug library that can be used to fulfill my purpose?