debugging doesn't work
See original GitHub issuewhen attempting to debug, it just outputs this to the debug console and does nothing:
main.spec.ts
import { expect, test } from '@playwright/test'
test('basic test', async ({ page }) => {
await page.goto('https://google.com/')
const title = page.locator('.navbar__inner .navbar__title')
await expect(title).toHaveText('Playwright')
})
playwright.config.ts
import { PlaywrightTestConfig } from '@playwright/test'
const config: PlaywrightTestConfig = {
projects: [
{
name: 'Chrome Stable',
use: {
browserName: 'chromium',
// Test against Chrome Stable channel.
channel: 'chrome',
},
},
],
}
export default config
playwright test output
2021-09-21T05:07:05.236Z Executing command: node_modules\@playwright\test\lib\cli\cli.js test --retries=0 --reporter=json --list \.
2021-09-21T05:07:10.458Z Creating test controller: Playwright TestChrome Stable
2021-09-21T05:07:10.459Z Executing command: node_modules\@playwright\test\lib\cli\cli.js test --retries=0 --project=Chrome Stable --reporter=json --list c:\\Users\\user\\playwright-demo\\tests\\main\.spec\.ts
2021-09-21T05:07:12.926Z TestFile._updateFromDisk default and Chrome Stable
2021-09-21T05:07:23.871Z Running test basic test [Chrome Stable] debug=true
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:11 (4 by maintainers)
Top Results From Across the Web
visual studio - Why the debugger doesn't work - Stack Overflow
15 Answers 15 · Delete ASP.NET temporary files from C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files · Change build configuration to debug ...
Read more >Troubleshoot Breakpoints in the Visual Studio Debugger
If a source file has changed and the source no longer matches the code you're debugging, the debugger won't set breakpoints in the...
Read more >Visual Studio Community 2017 Debugger not working correctly
Most of my program is working, but the debugging does not seem to be working like it should or does when you create...
Read more >What to do if debugger doesn't work as expected?
What to do if debugger doesn't work as expected? Follow · go to Help | Diagnostic Tools | Debug Log Settings · add...
Read more >BreakPoints Are Not Working in Visual Studio - C# Corner
Ensure that debug configuration, debug flag and full debug info are set on all assemblies. · Delete all bin and obj folders and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the new version which gets released in 1-2 weeks we reworked this fully. This is then working as expected.
The same problem with getting started example It can successfully run, but when I choose debug it hangs
https://user-images.githubusercontent.com/10089615/138935792-3e52b9b7-168d-4eb0-a1f4-1a8687a67f01.mp4