> ## Documentation Index
> Fetch the complete documentation index at: https://docs.windsurf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# プラグインのログの収集

> Windsurf プラグインの問題をトラブルシューティングする際に、JetBrains、VS Code、Eclipse、Visual Studio、NeoVim から診断用ログを収集する方法。

問題が発生した場合のトラブルシューティングの第一歩は、IDE からログを取得することです。主要な各 IDE で Windsurf のログを取得する方法は次のとおりです。

<div id="jetbrains-ides">
  ## JetBrains IDEs
</div>

<Tabs>
  <Tab title="Local">
    Cascade では、IDE から直接診断ファイルを生成できます。方法は次の 2 通りです:

    * Cascade ウィンドウ右上の 3 点メニューをクリックし、Download Diagnostics を選択
    * IDE メニューの Tools > Windsurf > Download Windsurf Diagnostics を選択

    前者を推奨します。Cascade の埋め込みブラウザのログも含まれるためです。
    このボタンを押すと、関連するログやパラメータが自動的に収集され、テキストファイルにまとめられます。

    万が一の場合は、Help > Show Log in Explorer/Finder から IDE のフルログ（idea.log）を取得できます。
  </Tab>

  <Tab title="Remote">
    Windsurf の診断を収集するには、次の方法が利用できます:

    * Cascade ウィンドウ右上の 3 点メニューをクリックし、Download Diagnostics を選択
    * IDE メニューの Tools > Windsurf > Download Windsurf Diagnostics を選択

    前者を推奨します。Cascade の埋め込みブラウザのログも含まれるためです。

    加えて、IDE のフルログを収集するには:

    * IDE メニューの Tools > Windsurf > Collect Host and Client Logs を選択
  </Tab>
</Tabs>

<div id="vs-code">
  ## VS Code
</div>

1. コマンド パレット（`Ctrl/Cmd + Shift + P` または View > Command Palette）を開きます

2. "Show logs" と入力し、"Developer: Show Logs" と表示されるオプションを選択します

3. 右上のドロップダウンで "Extension Host" を "Windsurf" に変更します

4. 次の画像のように表示されます:

<Frame style={{ border: 'none', background: 'none' }}>
  <img src="https://mintcdn.com/codeium/d8O4q6w3H2CjrirL/assets/extension-diagnostics-log.png?fit=max&auto=format&n=d8O4q6w3H2CjrirL&q=85&s=5559a02942eaf0fe736625f13e86bf67" width="2042" height="272" data-path="assets/extension-diagnostics-log.png" />
</Frame>

5. ログをエクスポートするか、コピーします

<div id="eclipse">
  ## Eclipse
</div>

Eclipse では、ログは次のパスに書き込まれます：

* **Mac/Linux**: \~/.codeium/codeium.log
* **Windows**: C:\Users\<username>.codeium\codeium.log

<div id="visual-studio">
  ## Visual Studio
</div>

\[View] > \[Output] を開き、ドロップダウンで「Windsurf」を選択して、ログをコピーします。

<div id="neovim">
  ## NeoVim
</div>

vimrc で `g:codeium_log_file` にファイルのパスを設定し、Vim を再起動してください。

その後、ログはそのファイルに出力されるようになります。
