It is very important to me to debug cause it also helps to understande some parts of the code...
Thanks in advance,
Best Regards
Also the debugger set up was really easy (with respect to eclipse, I wasn't able to set up in one week!!!)
M
Sent from my Desire HD using Tapatalk
-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------
dont know what Im doing wrong...
So the program closed at my screen..
Very disapointing..
I´m very frustrated with this whole issue...
Never lose data again! Use Dropbox - DO THIS BEFORE YOU SIGNUP for Extra Space!!
http://db.tt/inKP3mv Signing up via this link gives you a bonus of 256 MB
More Bonuses: http://www.dropbox.com/free .5 GB
http://www.dropbox.com/edu = double your bonus referrals by giving an edu address.
Total ~ 3gb
-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------
I've seen a lot of people swear by PHPStorm but I've found setting up Xdebug to be a real hassle so I've never properly tested it myself.
For looking at changes between OpenCart versions I use Beyond Compare. The PHP syntax highlighting is a bit sucky but otherwise a license is worth every penny.
-Ryan
I've been using WinMerge for file compare but this Beyond Compare sounds really interesting.rph wrote:For looking at changes between OpenCart versions I use Beyond Compare. The PHP syntax highlighting is a bit sucky but otherwise a license is worth every penny.
Do you have standard or pro version?
M
Sent from my iPad using Tapatalk
-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------
I'd definitely suggest trying out the demo. It lasts ages as you only use a day of your 30-day demo period if you actually open Beyond Compare up.
-Ryan
Steps:
-install Netbeans php version
-Install xampp
-do opencart installation as per the documentation says
-Import the xampp/htdocs/*Opencart installation* directory as PHP project in netbeans(Google how to import exsisting php proj in netbeans if u dont know how to)
-open xampp/php/php.ini
-find string "[XDebug]"
Paste the below:
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.profiler_enable = 1
xdebug.idekey="netbeans-xdebug"
xdebug.remote_handler=dbgp
xdebug.remote_enable=on
xdebug.remote_port=9000
xdebug.remote_host = "127.0.0.1"
-Goto netbeans->debug->Attachdebugger-> change Port number: 9000
-Restart Xampp Server
-Place Breakpoints anywhere in your project
-now click on your imported project->select debug
Boom!!!! Work is on...
Note: if you still didnt figure it out how to , browse xdebug configuration in google..
- Using usbwebserver as my local development server as its all localized storage so I can keep it on dropbox and work from anywhere.
- Notepad++ for quick editing
I've tried a few others, codelobster, phpadvanced, eclipse with XDebug... I could never get XDebug to work right. PHPed is the only one that I can consistently get to work throughout the entire run process.. even with ajax callbacks
NetBeans comes with Apache or Glassfish servers .. easy to setup. Run it from Netbeans.. and run PHP apps.. Good intellisense for code suggestions, Documentation support. Loads of stuff come bundled... Refer the above post for the env setup
Good choice for open source progies.. Hopefully this post helps you!! Keep coding Make OpenCart the best..
The best ecommerce framework - opencart
M
Sent from my iPhone using Tapatalk
-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------
M
Sent from my DesireHD.
-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------
Users browsing this forum: No registered users and 34 guests