Open andredewes opened 2 years ago
I have the same issue and until recently (like within the last week) the same thing was happening for context.Variables. It would completely hang the debugging session, forcing you to restart debugging. However, today context.Request.Url.Query.Items still behaves the same but context.Variables I'm now seeing an exception and the Watch feature doesn't seem to work for anything:
The variable policy debugging experience in VSCode seems to get stuck in some collections, especially when trying to iterate through Dictionaries:
When we expand for example context.Request.Url.Query.Item, it gets stuck forever and the debugging session crashes. Reproducing that issue is straightforward... just start debugging any policy, go to Run & Debug menu in VSCode and try to expand the variable above.