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

Make it easy to debug the project #1233

Open
paule96 opened this issue Aug 9, 2024 · 2 comments
Open

Make it easy to debug the project #1233

paule96 opened this issue Aug 9, 2024 · 2 comments
Labels
backlog Queued in backlog enhancement New feature or request

Comments

@paule96
Copy link

paule96 commented Aug 9, 2024

Is your feature request related to a problem? Please describe.

Currently, the only visible way for me to start this project is over karma which is a test framework. This makes it way too complicated to debug the project and try new things.
It would be way better to have a normal npm run start, that will run a HTTP-server that serves an index.html that shows the editor, playground, etc...

That would help to use the integrated debugger in for example VsCode.
Currently from my point of view, this seems to be impossible.

@paule96 paule96 added the enhancement New feature or request label Aug 9, 2024
@vsgoulart vsgoulart assigned vsgoulart and Skaiir and unassigned vsgoulart Aug 13, 2024
@Skaiir
Copy link
Contributor

Skaiir commented Aug 15, 2024

Hey there. So I guess it is a matter of preferences, but I we've gotten used to it here. There are ideas floating around about using vite across the project, something that might see a little more traction whenever we've done this restructuring of the codebase. I'm not sure if it handles vscode integrations well, but it does follow an index.html structure unlike what we do now.

For now though, there aren't any plans. If you really need this now and are willing to implement it, I'd ask for it to be done under something other than start, but I don't know how long we'll keep it to be fair. We'll keep it in mind for the future, but personally I haven't found issues working with karma once I've gotten used to it.

But yes, in an ideal future we would modernize the repo, I generally agree.

@Skaiir Skaiir added the backlog Queued in backlog label Aug 15, 2024
@Skaiir Skaiir removed their assignment Aug 15, 2024
@paule96
Copy link
Author

paule96 commented Aug 19, 2024

@Skaiir after thinking some nights about it I'm also not so happy with my idea because this repository is mainly a frontend library and not a standalone product. So I guess I agree with you that a start or an index.html is not really needed, because you can just use the test to debug. (and force yourself into writing tests)

But still, the main feature request is to be true, to make it easier to debug the tests by providing pre-configured maybe vs code configs. (I don't want to force too much vscode, but we are on GitHub and so the default for many people are the dev containers that are vscode)

From my point of view, it is also a documentation issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants