Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Example for debugging with Visual Studio Code and source maps #110

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Hecatron
Copy link

Hi,
It took me a little while to figure out the right combination of options to use when debugging typescript using visual studio code and jiti.
I figured I'd add an example just to make it easier for others.

I noticed that when the cache is enabled, the cached files are not overwritten if the sourcemap option was disabled the first time around but then enabled the second time around when launching a script.
Also disabling the cache seems to be a necessity anyway when debugging with source maps, as I think the sourcemap changes on each run.

@daxaxelrod
Copy link

Holy cow, I hope you have an amazing day today, you certainly saved mine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants