Skip to content

Commit

Permalink
Turn on verbose logging for chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
brianfeucht committed Jan 19, 2024
1 parent 787c471 commit df12043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/SampleLambda-dotnet8/HelloWorldHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public async Task<byte[]> Handle(ILambdaContext context)
var loggerFactory = LoggerFactory.Create(builder => builder.AddConsole());
var browserLauncher = new HeadlessChromiumPuppeteerLauncher(loggerFactory);

await using (var browser = await browserLauncher.LaunchAsync())
await using (var browser = await browserLauncher.LaunchAsync(new[] { "--enable-logging", "--v=1" }))
await using (var page = await browser.NewPageAsync())
{
await page.GoToAsync("https://www.google.com");
Expand Down

0 comments on commit df12043

Please sign in to comment.