Forum Discussion
RobertWarning
Sep 07, 2025Copper Contributor
Debugging Java script in old asp core app
Hy, I need to modify an asp.net.core app witch I made years ago. in version 2.2. I do succeed to alter C# code in visual studio (2022), but I need to alter also some Java script. The problem is tha...
Harold-Picado
Jul 16, 2026Tin Contributor
Hi,
My first guess is that the browser isn't actually loading the JavaScript file you're editing.
I'd open F12 > Network or Sources and check the exact path of the .js file being served. It's surprisingly common in older ASP.NET Core 2.2 projects to edit one file while the application is serving a bundled, minified, or copied version from somewhere else (often under wwwroot).
I'd also try a hard refresh (Ctrl + F5) with Disable cache enabled in DevTools. If the browser still shows the old script, I'd compare the file path in DevTools with the one you're editing in Visual Studio.
In my experience, that's usually where the problem turns out to be.