How to debug electron?


Hi all,

I built electron from source codes, and i want to do some debug to know some logic. Do anyone know how to debug it? Can i debug it using Xcode, or should i debug it using gdb?


What i mean is to debug the c++ codes of electron.


Anyone knows?