How-to: Collecting PhpStorm/WebStorm debug Logs

The instructions below refer to PhpStorm, but all the steps for WebStorm are quite the same.

To take the logs you need to:

1. Open Help | Debug Log Settings...

2. Add the following lines:

  • issues with PHP: com.jetbrains.php
  • issues with deployment/synchronization: com.jetbrains.plugins.webDeployment

debug_log3.png 

3. Click OK

4. Reproduce the problem.

5. Log files are to be found at:

  • from PhpStorm 
    • Windows\Linux: Help | Show Log in Explorer
    • Mac OS X: Help | Show Log in Finder
  • manually (~ stands for user home directory and XX for the number of version ):
    • Windows and Linux: ~\.PhpStormXX\system\log
    • Mac OS X: ~/Library/Logs/PhpStormXX

 

The latest log file is named idea.log, older files names end with number, i.e. idea.log.1, idea.log.2 etc. In the most cases you need only the latest one.

 

2 comments

So what facilities/plugins/classes are available for debugging? Would you provide a documentation link on the list?

For example, how to figure out what facility is responsible for "Tools > Analyze Xdebug Profiles Snapshop..." tool?

0

Please contact support for details by submitting a ticket: https://intellij-support.jetbrains.com/hc/en-us/requests/new.

There are thousands of classes that perform logging and it's not feasible to list them all here and to separate under categories. Also, not all the subsystems perform logging.

1

Please sign in to leave a comment.

Have more questions?

Submit a request