Entonces, hoy, al depurar mi código TypeScript, me encontré con un error bastante arbitrario en VSCode. Al iniciar una sesión de depuración. No pude interactuar con la "CONSOLA DE DEPURACIÓN". La ventana "CONSOLA DE DEPURACIÓN" simplemente no respondió. Parece que la pestaña "CONSOLA DE DEPURACIÓN" no recibe ninguna información de mi navegador (chrome).
mi lanzamiento.json:
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "chrome", "request": "launch", "name": "Launch Chrome against localhost", "url": "http://localhost:8100", "webRoot": "${workspaceFolder}", } ] }Lo que funcionó para mí es especificar "outputCapture" en "console". Después de eso, la "CONSOLA DE DEPURACIÓN" volvió a funcionar. Tal vez lo cambió de alguna manera internamente sin que yo lo supiera. Espero que ayude a alguien que está enfrentando el mismo problema.
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "chrome", "request": "launch", "name": "Launch Edge against localhost", "url": "http://localhost:8100", "webRoot": "${workspaceFolder}", "outputCapture": "console", } ] }