236 posts
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
GradaStudio says

Hey guys, i use sublime text 2 and MAMP/ WAMP . is there any good tutorial to debug the php code with line breaks just like an IDE ?

thanks

794 posts
  • Has been part of the Envato Community for over 6 years
  • Has been a beta tester for an Envato feature
  • Located in India
  • Sells items exclusively on Envato Market
+1 more
laranz says
236 posts
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
GradaStudio says

thanks laranz.

is there any way to do the same with sublime text 2 ? kinda love this editor.

493 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
wopethemes says

I’m using nothing to debug. Just echo the value and consider how it work. I did it very well with jQuery also.

2450 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+3 more
digitalimpact says
626 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
ChapterThemes says

One of the best things is to always have WP_DEBUG set to true in the wp-config.php file. This way you’ll even see errors that don’t affect functionality, but are still there.

236 posts
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
GradaStudio says

thanks for replies guys.

i am already aware of basic debugging using echo, print_r and wp_debug.

this is something advanced i am asking for.

i tried SublimeXdebug plugin but had hard time configuring it ( looks like it need to be updated )

406 posts
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
  • Located in Nepal
+3 more
RelStudios says

thanks for replies guys.

i am already aware of basic debugging using echo, print_r and wp_debug.

this is something advanced i am asking for.

i tried SublimeXdebug plugin but had hard time configuring it ( looks like it need to be updated )
try var_dump(); :p hehe bro actually what you want ? If i understood your question properly then, i suppose you need to do unit testing for each module and sub module, it’s actually TDD approach, so here you go here

Good luck !

236 posts
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
GradaStudio says


thanks for replies guys.

i am already aware of basic debugging using echo, print_r and wp_debug.

this is something advanced i am asking for.

i tried SublimeXdebug plugin but had hard time configuring it ( looks like it need to be updated )
try var_dump(); :p hehe bro actually what you want ? If i understood your question properly then, i suppose you need to do unit testing for each module and sub module, it’s actually TDD approach, so here you go here Good luck !

that is at later stage.

i actually want to pause the execution using break points in my code in sublime text just like in IDEs

406 posts
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
  • Located in Nepal
+3 more
RelStudios says



thanks for replies guys.

i am already aware of basic debugging using echo, print_r and wp_debug.

this is something advanced i am asking for.

i tried SublimeXdebug plugin but had hard time configuring it ( looks like it need to be updated )
try var_dump(); :p hehe bro actually what you want ? If i understood your question properly then, i suppose you need to do unit testing for each module and sub module, it’s actually TDD approach, so here you go here Good luck !

that is at later stage.

i actually want to pause the execution using break points in my code in sublime text just like in IDEs

I don’t know about sublime ide but in eclipse, netbeans you can do that easily

by
by
by
by
by
by