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

Add launch.json and/or tasks.json? #18

Closed
cmeeren opened this issue Nov 1, 2018 · 5 comments
Closed

Add launch.json and/or tasks.json? #18

cmeeren opened this issue Nov 1, 2018 · 5 comments

Comments

@cmeeren
Copy link
Contributor

cmeeren commented Nov 1, 2018

Do you think this demo could benefit from defining a VS Code launch.json and/or tasks.json? Most other Fable samples/templates I have seen have this, see e.g. fable-templates/simple, fable-templates/electron, SAFE-Stack/SAFE-BookStore.

I haven't used VS Code or Fable much yet, so I wouldn't really know where and when these are useful and where they don't add much.

@MangelMaxime
Copy link
Owner

I don't know, I personnaly almost never use them and prefer to launch commands from the terminal because there is only 2 commands.

But if someone wants to add it the demo I will aceept the PR.

@cmeeren
Copy link
Contributor Author

cmeeren commented Nov 2, 2018

Thanks, I'll keep it in mind if/when I have properly started with Fable and VS Code. No promises of course, anyone else feel free to do something about this too.

@cmeeren
Copy link
Contributor Author

cmeeren commented Nov 6, 2018

This may be a stupid question, but how to you debug from VS Code (hitting breakpoints etc.)? Is that possible without a launch task?

@MangelMaxime
Copy link
Owner

No idea :) I don't use the debugger ^^

If you want to debug an Elmish app from VSCode people use the chrome debugger extension I think but I don't know how to set it up.

I don't use the debugger because I have redux dev tool to explore my Model if needed and because the model controlling everything it is enough. Otherwise, I log some function result when needed.

@cmeeren
Copy link
Contributor Author

cmeeren commented Nov 6, 2018

Fair enough, thanks.

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

No branches or pull requests

2 participants