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”

2

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

  • i am using phpstorm for magicento – prasad maganti Jun 6 '14 at 5:48
  • may be this will be helpful.jetbrains.com/phpstorm/webhelp/configuring-xdebug.html – sivakumar Jun 6 '14 at 5:50
  • so xdebug enables us to debug line by line if we config – prasad maganti Jun 6 '14 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 Jun 6 '14 at 6:02
  • k i will try configure xdebug in phpstorm. What $obj->debug() does. and var_dump() not working for functions. – prasad maganti Jun 6 '14 at 6:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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