What is the best way to debug deepstream-app?

Hi,
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?
Thanks

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.