I'm trying to debug my first PHP app. I have never debugged PHP before, so think of VERY SIMPLE TERMS. I'm not doing anything big and huge and complicated.
I have 15 lines of code and all it does is opens a DB on my localhost and read values from a table and displays it. There's really nothing to debug about this because the code works just fine, but I'm just trying learn how to debug in PHP.
I setup my PHP debug/config based on the documentation provided. I'm using XDebug 2.2.0 which came with Wampserver 2.2. I've also downloaded the latest XDebug v2.2.1 and tried both versions. Php v5.4.3.
Basically when I run the debug session, I get a dialog box which says "CLI has stopped working" and I get the standard windows choice of closing the app or go online and find search for a solution (...yeah, right). Of course when I click "Close appplication" the app (PhpStorm) doesn't die and it continues to run just fine. However, in the console output I get: "Process finished with exit code -1073741819."
I can't find any information what that exit code means and why am I getting a "CLI has stopped working" error.
My XDebug config section in PHP.ini:
zend_extension = "D:/wamp/bin/php/php5.4.3/zend_ext/php_xdebug-2.2.1-5.4-vc9-nts-x86_64.dll"
xdebug.remote_enable = 1
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "D:/wamp/tmp"
Anyone could lend me a hand with this? Thank you!
XDebug: 2.2.0 (and 2.2.1)
Win 7 x64