How to debug worker threads created using js links dynamically generated by blob?

Worker the creation code is as follows:

var script = "";
    script += "var a = 0;";
    script += "aPP;";
    script += "console.log(a)";
    
var blob = new Blob([script] , {
    type: "text/javascript"
});
var src = URL.createObjectURL(blob);
var w = new Worker(src);

Open the console and make a breakpoint:

clipboard.png

breakpoint is not triggered!

if you use the local file path directly:

var w = new Worker("js/w.js");

break points are useful in w.js !

how do I debug blob generated js script links for Worker thread debugging?

Mar.09,2021

var script = "";
    script += "var a = 0;\n";
    script += "debugger;";
    script += "aPP;";
    script += "console.log(a)";
    
var blob = new Blob([script] , {
    type: 'text/javascript'
});
var src = URL.createObjectURL(blob);
var w = new Worker(src);

can we debug with n debugger breakpoint?
or write a function to debugger inside blob

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e98f6b-1720.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e98f6b-1720.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?