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

Debugging/sourcemaps in VSCode #9

Open
alaendle opened this issue Apr 8, 2022 · 3 comments
Open

Debugging/sourcemaps in VSCode #9

alaendle opened this issue Apr 8, 2022 · 3 comments

Comments

@alaendle
Copy link

alaendle commented Apr 8, 2022

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)

@i-am-the-slime
Copy link

@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:

purescript/spago#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.

@alaendle
Copy link
Author

alaendle commented Jul 1, 2022

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.

@i-am-the-slime
Copy link

Here's what works for me:

spago build --purs-args "-g sourcemaps"

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

No branches or pull requests

2 participants