0

I am new to magento. How could i debug line by line like other programming languages dot net. I have tried with setting developer mode to true. but its shows only error. I want to see line by line execution for better understanding magento and to see involved tables.

SetEnv MAGE_IS_DEVELOPER_MODE “true”

1 Answer 1

2

you can use netbeans ide with xdebug enable. http://wiki.netbeans.org/HowToConfigureXDebug

5
  • i am using phpstorm for magicento Commented Jun 6, 2014 at 5:48
  • may be this will be helpful.jetbrains.com/phpstorm/webhelp/configuring-xdebug.html
    – sivakumar
    Commented Jun 6, 2014 at 5:50
  • so xdebug enables us to debug line by line if we config Commented Jun 6, 2014 at 5:59
  • yes.normally you can use var_dump($var) .also you can use $obj->debug().I think its enough to understand what data contain particular object in magneto.
    – sivakumar
    Commented Jun 6, 2014 at 6:02
  • k i will try configure xdebug in phpstorm. What $obj->debug() does. and var_dump() not working for functions. Commented Jun 6, 2014 at 6:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.