What is the best way to debug deepstream-app?

I’m new to deepstream. anyone knows what is the best ways to debug deepstream-app? is there a way to attach debugger to running code? what is the best IDE? and how to profile the application and plugin?

deepstream-app source code is open, you can modify it to debug.

What he is trying to debug? For profiling you can use NVIDIA system profiler.