Debugging is when the developer identifies and removes erors from a software or hardware. In the debugging process, the developer needs to identify the reason behind the particular bug, which is done by rigorously researching the software.
The developer then changes the software code and then checks if the bug has been fixed whenever the bug or error is found.