{"id":19641,"date":"2015-03-06T18:34:01","date_gmt":"2015-03-06T18:34:01","guid":{"rendered":"https:\/\/blog.jetbrains.com\/phpstorm\/?p=8480"},"modified":"2024-01-09T14:59:22","modified_gmt":"2024-01-09T13:59:22","slug":"debugging-with-phpstorm","status":"publish","type":"phpstorm","link":"https:\/\/blog.jetbrains.com\/pt-br\/phpstorm\/2015\/03\/debugging-with-phpstorm","title":{"rendered":"Debugging with PhpStorm"},"content":{"rendered":"<p>To make the upcoming weekend even more enjoyable, we are glad to announce availability of\u00a0<strong><a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Debugging+with+PhpStorm\" target=\"_blank\" rel=\"noopener\">Debugging with PhpStorm<\/a><\/strong>\u00a0extended tutorials series which now covers all possible PHP debugging scenarios.<\/p>\n<p>In addition to our most-read\u00a0<a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Zero-configuration+Web+Application+Debugging+with+Xdebug+and+PhpStorm\" target=\"_blank\" rel=\"noopener\">zero-configuration web application debugging with Xdebug and PhpStorm<\/a>, we&#8217;ve prepared a similar tutorial for<a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Zero-configuration+Web+Application+Debugging+with+Zend+Debugger+and+PhpStorm\" target=\"_blank\" rel=\"noopener\"> Zend Debugger users<\/a>. To start with debugging in PhpStorm, tutorials on <a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Xdebug+Installation+Guide\" target=\"_blank\" rel=\"noopener\">Xdebug<\/a> and <a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Zend+Debugger+Installation+Guide\" target=\"_blank\" rel=\"noopener\">Zend Debugger<\/a> installation are also a good use.<\/p>\n<p>In <strong><a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Using+the+PhpStorm+Debugger\" target=\"_blank\" rel=\"noopener\">Using the PhpStorm Debugger<\/a><\/strong> tutorial, we are exploring how to use the PhpStorm Debugger to step through the source code while it&#8217;s running, how the debugger tool window works, what types of breakpoints exist, how to watch variables and edit them at runtime, and more.<\/p>\n<p>For those working on PHP CLI scripts,\u00a0<a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Debugging+PHP+CLI+scripts+with+PhpStorm\" target=\"_blank\" rel=\"noopener\"><strong>Debugging PHP CLI scripts with PhpStorm<\/strong><\/a> tutorial covers various cases to fire up a debugger in no time. If the remote environment is used (e.g. remote server, VM, etc), make sure that <strong><a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Working+with+Remote+PHP+Interpreters+in+PhpStorm\" target=\"_blank\" rel=\"noopener\">Remote PHP Interpreters<\/a><\/strong> are configured. PHPUnit and Behat can be also debugged and profiled with PhpStorm, and the entire workflow is covered in\u00a0<a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Debugging+and+Profiling+PHPUnit+and+Behat+Tests+with+PhpStorm\" target=\"_blank\" rel=\"noopener\"><strong>Debugging and Profiling PHPUnit and Behat Tests with PhpStorm<\/strong><\/a> tutorial.<\/p>\n<p><strong><a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Remote+debugging+in+PhpStorm+via+SSH+tunnel\" target=\"_blank\" rel=\"noopener\">Remote debugging in PhpStorm via SSH tunnel<\/a><\/strong>\u00a0tutorial is suitable for those debugging on the remote machine (e.g. remote server, VM, Vagrant), and it explains how to use an SSH tunnel to setup a secure connection between our development machine and a remote server for smooth debugging workflow.<\/p>\n<p>There are also some advanced debugging scenarios covered by dedicated tutorials, such as:<\/p>\n<ul>\n<li><a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Debugging+PHP+Web+Applications+with+Run+Debug+Configurations\" target=\"_blank\" rel=\"noopener\">Debugging PHP Web Applications with Run\/Debug Configurations<\/a><\/li>\n<li><a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Simultaneous+debugging+sessions+with+PhpStorm\" target=\"_blank\" rel=\"noopener\">Simultaneous debugging sessions with PhpStorm<\/a><\/li>\n<li><a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Multi-user+debugging+in+PhpStorm+with+Xdebug+and+DBGp+proxy\" target=\"_blank\" rel=\"noopener\">Multi-user debugging in PhpStorm with Xdebug and DBGp proxy<\/a><\/li>\n<\/ul>\n<p>And if you experience any problems while debugging with PhpStorm, <strong><a href=\"https:\/\/confluence.jetbrains.com\/display\/PhpStorm\/Troubleshooting+PhpStorm+debugging\" target=\"_blank\" rel=\"noopener\">Troubleshooting PhpStorm Debugging<\/a><\/strong> guide gets you fully covered.<\/p>\n<p>For those who&#8217;s up to videos, have a look at this <em>Debugging PHP with PhpStorm<\/em> webinar recording:<\/p>\n<p>https:\/\/www.youtube.com\/watch?v=LUTolQw8K9A<\/p>\n<p>Please leave your feedback here, and we&#8217;ll be glad to incorporate it in future versions of our materials.<\/p>\n<p><em>Debug with pleasure!<\/em><br \/>\n<em>-JetBrains PhpStorm Team<\/em><\/p>\n","protected":false},"author":91,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","categories":[808,907],"tags":[632,263,45,2434,792,1116,1119],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/phpstorm\/19641"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/phpstorm"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/types\/phpstorm"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/users\/91"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/comments?post=19641"}],"version-history":[{"count":1,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/phpstorm\/19641\/revisions"}],"predecessor-version":[{"id":432110,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/phpstorm\/19641\/revisions\/432110"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/media?parent=19641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/categories?post=19641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/tags?post=19641"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/pt-br\/wp-json\/wp\/v2\/cross-post-tag?post=19641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}