Skip to content

Instantly share code, notes, and snippets.

@appletouch
Forked from ramingar/vue-debug-webstorm.md
Created December 26, 2019 13:42
Show Gist options
  • Save appletouch/6591e54257f6cc5788805cfdd213587f to your computer and use it in GitHub Desktop.
Save appletouch/6591e54257f6cc5788805cfdd213587f to your computer and use it in GitHub Desktop.
Webstorm Vue Debugging #vue #debug #webstorm

Extraído de: https://blog.jetbrains.com/webstorm/2018/01/working-with-vue-js-in-webstorm/#comment-308241


Here are the exact instructions for using the WebStorm debugger while using the Webstorm Vue development plug-in:

If you don’t already have a run configuration: Edit Configuration

  • Add New Configuration->NPM
  • Name: start
  • package.json: [take default which should be the path to this file in your project]
  • Command: [take default, which is ‘run’]
  • Script: start

Edit Configuration

To actually debug:

  • Run->Run->(choose the “start” configuration
  • Then Run->Debug->choose the “debug” configuration

(The secret sauce is that both of these configurations need to be running at the same time.)


Cuando en la configuración de Javascript Debug te pide con qué navegador abrir la aplicación, hay que acordarse de poner chromium-browser y dándole a editar añadir los siguientes argumentos: --ignore-certificate-errors --unsafely-treat-insecure-origin-as-secure=https://localhost:8080

(esto hará que chromium ignore que los certificados están autofirmados y registrará correctamente el service-worker)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment