Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: on headless linux, debug headlessly#676

Merged
Skn0tt merged 1 commit into
microsoft:mainfrom
Skn0tt:debug-headless-on-headless-linux
Aug 26, 2025
Merged

chore: on headless linux, debug headlessly#676
Skn0tt merged 1 commit into
microsoft:mainfrom
Skn0tt:debug-headless-on-headless-linux

Conversation

@Skn0tt

@Skn0tt Skn0tt commented Aug 25, 2025

Copy link
Copy Markdown
Member

Resolves microsoft/playwright#23805. I manually verified on Ubuntu Desktop that DISPLAY is available in the extension's process.env of a headed VS Code.

@Skn0tt Skn0tt self-assigned this Aug 25, 2025
@Skn0tt Skn0tt marked this pull request as ready for review August 25, 2025 11:54
@Skn0tt Skn0tt requested a review from dgozman August 25, 2025 11:54

@pavelfeldman pavelfeldman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Headless debugging" is a challenging task: there is no screen, no devtools. We don't even allow evaluating in the target page. What is headless debugging, just stepping? I'll approve this, but I am not sure how we are helping.

@Skn0tt

Skn0tt commented Aug 26, 2025

Copy link
Copy Markdown
Member Author

Currently, when debugging a test on Codespaces, we just throw an error. Not throwing an error is arguably better, even though it'll never be on par with debugging in a headed environment.

@Skn0tt Skn0tt merged commit bc51c67 into microsoft:main Aug 26, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Support headless debugging in vscode extension

2 participants