I ran into the same issue. The problem is happening because the debounce function returns a new function which isn't being called anywhere.
To fix this, you will have to pass in the debouncing function as a parameter to the jquery click event. Here is the code that you should have.
$(".my-btn").click($.debounce(250, function(e) {
console.log("It works!");
}));
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…