Skip to content

Debug logs saved to location is missing a \. #3815

@jtucker

Description

@jtucker

Describe the bug

When outputting debug logs, the folder location is missing a \. This will result an error if you try and copy/paste this path into Windows Explorer.

Image Image

Affected version

1.0.62

Steps to reproduce the behavior

  1. type /collect-debug-logs file in the command box of copilot.
  2. Press Enter and select a chat you want to export.
  3. Wait until you get the message that the "Debug logs saved to:"
  4. Copy and paste that path into file explorer, you will receive a "C:\users<LOGINNAME>.copilot\ is unavailable" error message.

Expected behavior

I can copy the path from copilot cli output into Windows Explorer or Run dialog box and the file/directory opens.

Additional context

OS: Windows 11 25H2
Terminal: Windows Terminal 1.24.11321.0
Copilot CLI: 1.0.62

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platform-windowsWindows-specific: PowerShell, cmd, Git Bash, WSL, Windows Terminal

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions