forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-debuggingfeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds proposalNeed to make some design decisionsNeed to make some design decisions
Description
Currently live reloading of Flask and Django is disabled in the launch.json
.
With multi-process debugging support, this will no longer be necessary.
We'll also need to provide a mechanism to upgrade the existing launch.json
values
Options:
- When user starts debugging flask/django, we check these values and display a prompt:
- Ask if they want live reloading [yes], [no], [ignore always]
- Optionally update the
launch.json
accordingly (or provide instructions to user)
- When user opens a workspace with
launch.json
that has flask and django debug configurations (almost everyone who has debugged Python will have it), we display a prompt and make the changes inlaunch.json
- Problem: Almost all users will have Flask and Django configs in
launch.json
, hence this prompt will be displayed to all users. - Problem: This will be a challenging task as
launch.json
is technically not a valid json document, hence I'd prefer to avoid this.
- Problem: Almost all users will have Flask and Django configs in
Metadata
Metadata
Assignees
Labels
area-debuggingfeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds proposalNeed to make some design decisionsNeed to make some design decisions