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

Open Beginner friendly
#3,815 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
shell

Research direction

Start at the /collect-debug-logs file command entry point and trace where the Windows path is formatted for the Debug logs saved to: message. Reproduce the command on Windows, then verify that copying the reported path into File Explorer or the Run dialog opens the exported logs.

Written by the indexing model from the issue text.

Description

area:platform-windows
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

Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/copilot-cli

All issues in github/copilot-cli

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.