github / github/copilot-cli

Debug logs saved to location is missing a `\`.

Open
#3,815 0 comments 0 reactions 0 assignees View on GitHub
area:platform-windows
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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\.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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.