Adds debug print function to output a node with its inputs and outputs. Also keep track of the name of the resource (only images) what will be presented. Tracking of the resource name is only done in debug builds. Pull Request: https://projects.blender.org/blender/blender/pulls/124033