Repository navigation
feat: Generate .vscode/launch.json with Flutter as default and full-stack debugging - #4509
Merged
Merged
Conversation
Copilot
AI
changed the title
[WIP] Reorder .vscode/launch.json for default flutter launch
feat: Generate .vscode/launch.json with Flutter as default configuration
Dec 26, 2025
marcelomendoncasoares
requested review from
exaby73
and removed request for
marcelomendoncasoares
December 30, 2025 20:26
exaby73
suggested changes
Dec 31, 2025
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
exaby73
suggested changes
Jan 2, 2026
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Copilot
AI
changed the title
feat: Generate .vscode/launch.json with Flutter as default configuration
feat: Generate .vscode/launch.json with Flutter as default and full-stack debugging
Jan 2, 2026
…uration Co-authored-by: marcelomendoncasoares <[email protected]>
Co-authored-by: marcelomendoncasoares <[email protected]>
Co-authored-by: marcelomendoncasoares <[email protected]>
Co-authored-by: exaby73 <[email protected]>
Co-authored-by: exaby73 <[email protected]>
exaby73
force-pushed
the
copilot/reorder-launch-json-config
branch
from
February 25, 2026 12:01
7afb9d4 to
5a799de
Compare
exaby73
marked this pull request as ready for review
February 25, 2026 12:16
exaby73
removed their request for review
February 25, 2026 12:16
exaby73
approved these changes
Feb 25, 2026
nielsenko
approved these changes
Mar 2, 2026
nielsenko
left a comment
Collaborator
There was a problem hiding this comment.
I think we should consider dropping the info regarding F5 eventually, but for the next release I think it is good for discoverability.
…reorder-launch-json-config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When creating a new Serverpod project and pressing F5 in VS Code, users encounter an error because VS Code has no default launch configuration. This creates unnecessary friction for beginners.
This PR generates a
.vscode/launch.jsonfile with proper debugging configurations for Serverpod projects, including individual configurations for Flutter and Server, plus a compound configuration for full-stack debugging.Changes
Added launch configuration template at
templates/serverpod_templates/vscode/launch.jsonprojectnameplaceholder for automatic substitutionModified CLI project creation in
tools/serverpod_cli/lib/src/create/create.dartvscodeDirtoServerpodDirectoriesclassAdded tests in
tests/bootstrap_project/test/project_test.dartBehavior
Server template (
serverpod create myproject): Generates .vscode/launch.json at project root with three launch options:Mini template: No .vscode directory (no Flutter app).
Upgrades (
serverpod create .): Skips .vscode generation to avoid overwriting user customizations.Pre-launch Checklist
///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.If you need help, consider asking for advice on the discussion board.
Breaking changes
None. This is a purely additive feature that only affects newly created projects.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.