I've created a VSCode extension that integrates with VSCode's Debugger. I have been testing this extension with great success in the extension development debugger. However, when I published this on VSCode Marketplace and installed the extension on my local machine, I'm not able to fire up the extension debugger integration.
I have used numerous console.debug statements to track where the error is originating from, and I have tracked it to a 3rd-party library which essentially analyzes the input source file, and then opens said file in the VSCode Debugger and make it ready for debugging.
This extension that I've been trying out has been a fork of an existing similar project, but I have made some changes to it in my version of it. The original extension (from which I forked) works absolutely fine without any errors; it's just my version that seems to be erroring out.
Why is the case? Or better, how can I essentially debug this (note that my extension works fine during extension debugging).
Couple of caveats I'm.
- I've used both
devDependenciesanddependencieswithin my package.json file. I read somewhere (don't have the link unfortunately) thatvsce packageonly packages the libraries in thedependenciesfolder. However, the 3rd-party library I've tracked is the problem is within thedependenciesfolder, so am unsure of this.