vscode-edge-devtools
vscode-edge-devtools copied to clipboard
preLaunchTask is never run when using vscode-edge-devtools.debug
Environment (please complete the following information):
- OS (e.g., Windows 10): MacOS 11.6.2
- Extension version (e.g., 1.2.3): 1.4.2
Describe the bug:
When using the vscode-edge-devtools.debug
type in a configuration in launch.json, the preLaunchTask
is never actually executed, and the Edge debugger opens right away without running anything first. This repros with npm and shell tasks (defined in tasks.json). The behavior is fixed by using pwa-msedge
instead.
Repro steps:
- Create a task in
.vscode/tasks.json
- Add a
preLaunchTask
property into avscode-edge-devtools.debug
launch configuration in.vscode/launch.json
referencing the task label - Run the debug config
Expected behavior:
The specific preLaunchTask
should run before the Edge debugger extension. It doesn't.
Additional context:
Related to #501
Thanks for flagging that up, we'll look into it.
same here
I can verify that I also have experienced this issue. You can use compound launch configurations to kind of get around it, but it's not something I'd rely on.
e: Another thing to note, postLaunchTask
does not seem to be functional either.
same here