Currently Being Moderated

How-to: Collecting PhpStorm/WebStorm Logs

VERSION 30

Created on: Jun 2, 2010 2:08 AM by Kirill Safonov - Last Modified:  Apr 9, 2014 2:43 PM by Serge Baranov

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


To take the logs you need:

 

 

If you have PhpStorm 7.1.3 or above:

 

 

1. Open Help | Configure Debug Log Settings

2. Add the following lines:

  • problems with PHP debugging: com.jetbrains.php.debug
  • problems with deployment/synchronization: com.jetbrains.plugins.webDeployment

DebugLog-1.png

3. Click OK

4. Reproduce the problem.

5. Log files are to be found at:


  • from PhpStorm (since 2.1 EAP):
    • Windows\Linux: Help | Show Log in Explorer
    • Mac OS X: Help | Show Log in Finder


  • manually (~ stands for user home directory):
    • Windows and Linux: ~\.WebIde70\system\log
    • Mac OS X: ~/Library/Logs/WebIde70


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.


6. Attach the log file(s) to the issue or forum thread.

 

 

If you have PhpStorm 7.0 or below:

 

 

1. Close PhpStorm application.

 

2. Open file <PhpStorm installation>/bin/log.xml with the text editor

 

3. Scroll to the bottom, add the following lines before <root> tag:

<category name="category_name">
       <priority value="DEBUG"/>
  </category>

        where category_name is:

    • problems with PHP debugging: #com.jetbrains.php.debug
    • problems with deployment/synchronization: #com.jetbrains.plugins.webDeployment

 

 

4. Start PhpStorm, reproduce the problem.

 

5. Log files are to be found at:

 

  • from PhpStorm (since 2.1 EAP):
    • Windows\Linux: Help | Show Log in Explorer
    • Mac OS X: Help | Show Log in Finder


  • manually (~ stands for user home directory):
    • Windows and Linux: ~\.WebIde60\system\log
    • Mac OS X: ~/Library/Logs/WebIde60


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.

 

6. Attach the log file(s) to the issue or forum thread.

 

 

Thank you for your collaboration!

Average User Rating
(2 ratings)




There are no comments on this document

More Like This

  • Retrieving data ...

More by Kirill Safonov