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

810 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.

498 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
+2 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.

2468 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
+2 more
digitalimpact says
649 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
+1 more
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 )

410 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

410 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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by