-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
I've been fighting with this for a couple of days trying to get our decently complicated solution to hit a breakpoint in our Blazor components.
This gist is the output from vscode-debugadapter.json using "trace": true in launch.json.
https://gist.github.com/zbecknell/a3647dfc7818695c1be7722572307e10
I can't debug from VS either, but thankfully I can do some snooping easier with VS Code.
The Razor Class Library is Care.UI.dll. I can see it listed under the Runtime.consoleAPICalled table, but no scripts are ever parsed from the library. I know there's not much to go on... I tried to create a reproduction project but so far haven't been able to break debugging! I'm hoping the gist provides some hints to experts in the debug adapter.
Despite not being able to reproduce this (yet) with a project, I'll include the solution I did set up, which has a similar structure to the full project:
https://github.com/zbecknell/HostedRclDebug
What I need to figure out is how to instruct the debugger to parse my Care.UI.dll project, as it seems to completely ignore it. My .csproj for the example UI project and my full project are practically the same. I'm also able to debug standard class libraries referenced by Care.UI.dll triggered by UI actions (Care.Typescript.dll being an example).
Let me know if there's any more information that might be helpful. In the meantime, after a bit of a break, I'll continue trying to break a reproduction repo.