How do I edit an Ionic Core node_module .js file?

Hi all, first off, yes I know that it is not good to edit node_modules as they are overwritten on npm updates. That said…

I am trying to debug why a certain ion-component is not triggering correctly, for example, the ion-refresher. I found the component in:


I tried adding a console.log('refresher loaded') in the .js constructor, but when I run ionic serve, the page with the refresher element does not print out the console log…what am I missing?