I have noticed in my server side .NET 10 web app that if I sit on a breakpoint for longer than 30 seconds, my web page in Chrome times out and loses its connection:
content-script.js:196 Keep-Alive mechanism ongoing
content-script.js:196 Keep-Alive mechanism ongoing
blazor.web.js:1 [2025-12-05T12:58:37.301Z]Error: Connection disconnected with error 'Error: WebSocket closed with status code: 1006 (no reason given).'.log @ blazor.web.js:1_stopConnection @ blazor.web.js:1features.reconnect.transport.onclose @ blazor.web.js:1_close @ blazor.web.js:1
I can see on the webpage itself a pop-up appears which says "rejoining the server" initially before the whole page breaks and times out.
I've tried varies different timeout settings but can't seem to make the page stay alive and not disconnect after 30 seconds.
Does anyone know how to fix this issue?