next-purescript-example
next-purescript-example copied to clipboard
Debugging/sourcemaps in VSCode
Any idea how to make debugging/sourcemaps work to debug this example in VSCode? (https://github.com/purescript/spago#get-source-maps-for-my-project)
@alaendle
This might be fixed since PureScript version 0.15.3 (current is 0.15.4) but maybe there is still an issue with Spago:
https://github.com/purescript/spago/issues/877
Let me know if you are still interested in finding out more about this and maybe I can find some time to help you with it.
To be honest it's pure curiosity, but I'd still be interested - probably it's somehow due to the interaction with the complex example here, but a simple compiler update hasn't led to success yet. I would now have to take a step back and learn the basics of working with source maps on a new and simple project.
Here's what works for me:
spago build --purs-args "-g sourcemaps"