Having this same problem.
When I pause the code with a brakepoint and hover over a Javascript variable in the dev tools (tried chrome and edge) variable does not show in my localHost served app.
It works okfor other applications (random webs not hosted locally).
Thanks for any idea.