VS CODE in debug breakpoints always disabled

My project is structured with hierarchical level. My JS directory is under a directory assets :
----- JS

When I define a breakpoint on f1.js file for example when I start debug my api all breakpoints are disabled and I need to choose disabled all breakpoints first and choose enabled all breakpoints to reactiv all breakpoints !
Must have change something in VS code params ? or change something in the launch.json ?

Going to need more info, for example, how you get loaded those .js files? Because the debugger needs to know about them.

Hi Jose,
Here under my main html project file

<!-- API RTL -->
<script type="text/javascript">rtl.run();</script>

<!-- API utils -->
<script src="assets/js/globalvar.js" type="text/javascript"></script>
<script src="assets/js/setting.js" type="text/javascript"></script>
<script src="assets/js/util.js" type="text/javascript" ></script>
<script src="assets/js/db.js" type="text/javascript" ></script>
<script src="assets/js/gmap.js" type="text/javascript" ></script>
<script src="assets/js/home.js" type="text/javascript" ></script>
<script src="assets/js/company.js" type="text/javascript" ></script>
<script src="assets/js/companydetail.js" type="text/javascript" ></script>
<script src="assets/js/contact.js" type="text/javascript" ></script>
<script src="assets/js/contactdetail.js" type="text/javascript" ></script>
<script src="assets/js/action.js" type="text/javascript" ></script>
<script src="assets/js/offer.js" type="text/javascript" ></script>
<script src="assets/js/project.js" type="text/javascript" ></script>
<script src="assets/js/dashboard.js" type="text/javascript" ></script>
<script src="assets/js/newentity.js" type="text/javascript" ></script>
<script src="assets/js/building.js" type="text/javascript" ></script>
<script src="assets/js/demand.js" type="text/javascript" ></script>

maybe I should move all .js file before rtl.run() call ?


Are those files deployed when you build the app? That is, on the TMSWEB/Debug folder along with the main project javascript file?

Yes of course (all files are inside debug and Release subfolder)

Here Source folder


and here

Been trying to reproduce your issue, but I couldn't. Please, can you send me a simple project with just one .js asset that shows the issue?