Skip to content

Added debugger configuration for Edge Chromium #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion src/v2/cookbook/debugging-in-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ así como también la última versión de la extensión de depuración que corre

* [Depurador para Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome)
* [Depurador para Firefox](https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-firefox-debug)
* [Depurador para Edge](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-edge)

Instale y cree un proyecto con [vue-cli](https://github.com/vuejs/vue-cli), siguiendo las instrucciones en [Guía Vue CLI](https://cli.vuejs.org/).
Muévase dentro del directorio de la aplicación recientemente creada y abra VS Code.
Expand Down Expand Up @@ -85,6 +86,17 @@ el contenido del archivo `launch.json` generado con la configuración correspond
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/src",
"pathMappings": [{ "url": "webpack:///src/", "path": "${webRoot}/" }]
},
{
"type": "edge",
"request": "launch",
"name": "vuejs: edge Chromium",
"version": "canary",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/src",
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
}
]
}
Expand All @@ -100,7 +112,7 @@ la función `data` devuelve una cadena de texto.
2. Abra su terminal favorita en la carpeta raíz y corra su aplicación usando Vue CLI:

```
npm start
npm run serve
```

3. Vaya a la vista de Depuración, seleccione la configuración **'vuejs: chrome/firefox'**,
Expand Down