schultek / jaspr

Modern web framework for building websites in Dart. Supports SPAs and SSR.
https://jasprpad.schultek.de
MIT License
996 stars 59 forks source link

feat: Integrated Debugging Configuration for VSCode with Jaspr #202

Open carmas123 opened 3 months ago

carmas123 commented 3 months ago

Description: To enhance the development efficiency and effectiveness with the Jaspr framework, I propose the introduction of an integrated debugging configuration specifically for Visual Studio Code (VSCode). The aim is to provide developers with a ready-to-use solution that allows for seamless debugging of Jaspr code directly within the IDE, eliminating the need for complex manual configuration.

Use Case: Currently, debugging applications developed with Jaspr in VSCode requires developers to undergo a manual configuration process that can be both time-consuming and error-prone. This process involves creating project-specific configuration files and adjusting IDE settings. An integrated debugging configuration would significantly simplify this process, making debugging more accessible to developers of all experience levels.

Suggested Implementation: It is suggested that the Jaspr framework include a set of predefined configuration files for debugging in VSCode, along with a detailed guide on how to utilize them. These files should be easily importable into any Jaspr project and customizable to fit different development needs. Additionally, it would be beneficial if this configuration could be automatically recognized and applied by VSCode upon opening a Jaspr project.

Example Configuration: A potential predefined configuration could include:

Benefits:

Conclusion: Integrating a specific debugging configuration for VSCode would significantly improve the development experience with Jaspr, making it an even more attractive framework for the developer community. Simplified and integrated access to debugging features would not only increase efficiency but also developer satisfaction when working on Jaspr projects.

schultek commented 3 months ago

Fully agree about the benefits to DX.

I'm not sure if this would better be part of the jaspr tooling, or an actual vscode extension.