firefox-devtools / firefox-devtools/vscode-firefox-debug

Unable to use `preLaunchTask`

Aperta
#278 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
447
Fork
76
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It seems there is some kind of issue/bug with the `preLaunchTask` option...
I'm unable to figure out how to make use of this.
I tried:
1. **single string value** = "Live Debug"
Pointing to a task group that looks like:
```json
{
"label": "Live Debug"
,"group": {
"kind": "test"
,"isDefault": true
}
,"dependsOn":[
"Local Live-Server (Python3)" <-- http.server
,"Watch (Rollup)" <-- Build javascript app used inside html page.
,"RemoteDebug" <-- Opens 2 new tabs, one with web and one with file URI's.
]
}
```
But it never attaches because the sub-tasks never exit obviously as intended.
The group works perfectly fine when run as task.
(The `RemoteDebug` task could be left out ofcourse)
1. **object value** =
```json
,"preLaunchTask":{
"task": "Live Debug",
"type": "process"
}
```
Gives the **error** Could not find the specified task..

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo la configurazione di avvio segnalata con le forme stringa e oggetto di `preLaunchTask`, inclusa l'attività di lunga durata `Live Debug` e le relative dipendenze. Traccia il modo in cui l'estensione risolve e attende le attività pre-avvio; il lavoro è completo quando la configurazione dell'attività prevista viene riconosciuta e il debugger di Firefox si collega senza richiedere erroneamente che le sottoattività persistenti terminino.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript, vscode
Ambito
devtools
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.