Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ does not have debugging capability or any debugging plug-in - is this true?

For those who code in Notepad++, I just want to confirm that Notepad++ does not have any built-in debugging function (i.e. ability to set breakpoints, step one by one and look at values in the middle of execution). I'm new to PHP coding and am looking for a good editor/IDE to use. Since I would like a debugging function, your answer would greatly help me narrow my choices. Note that I've recently downloaded and am in fact using Notepad++ at the moment, and cannot seem to find either a built-in debugger or a debugging plug-in from the Notepad++ menus. Thanks in advance.

like image 353
creativekev Avatar asked Aug 06 '10 20:08

creativekev


People also ask

Does Notepad++ have a debugger?

Open the PHP file you want to debug in the Notepad++ and add a breakpoint to the script. You will see the Notepad++ icon blinking on the taskbar. Click on it and start debugging.

How do I debug code in Visual Studio Code?

To bring up the Run and Debug view, select the Run and Debug icon in the Activity Bar on the side of VS Code. You can also use the keyboard shortcut Ctrl+Shift+D. The Run and Debug view displays all information related to running and debugging and has a top bar with debugging commands and configuration settings.


2 Answers

There is the DBGP Plugin for NP++ that hooks into xDebug if you want to try it.

I found decent install/setup instructions here, but as with most things computer related, YMMV.

like image 112
eldarerathis Avatar answered Sep 17 '22 23:09

eldarerathis


I like the new Eclipse Helios with PDT 2.2 which hooks into xDebug. If you haven't used eclipse in a while you should check out the new version. The new build of PDT is by far the best PHP debugger I have used.

like image 35
rook Avatar answered Sep 18 '22 23:09

rook