question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Events are not shown in Devtools

See original GitHub issue

Vue version: 2.1.10 Chrome version: 56.0.2924.87

I have an application i have been working on for a couple of months, and just recently, the Events tab in Devtools has stopped working. I can navigate to the tab, but no events are shown in it.

The events work fine, as my application is still functioning as expected, i just have a real hard time debugging it, because i cannot see the events in the Devtools.

My setup is a global Event instance, which is initialized in my bootstrap.js before the components are loaded, and the App Vue initialized.

window.Event = new Vue();

Vue.components loaded…

const app = new Vue({ el: '#app' });

Event are $emited and $oned using Event.$emit and Event.$on.

I’m building the app using Laravel Mix, which is a wrapper for Webpack.

I’ve tried reinstalling the devtools, updating Chrome, and pretty much everything else i could think of.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
Fierozencommented, Jan 25, 2018

What is the easiest way to tell if you have two versions of vue in your application?

4reactions
saintplaycommented, Dec 27, 2017

I ran in this issue, I figured out if you are using two version of vue in your application, say vue.esm.js and vue.js events won’t show on vue.devtool panel

Read more comments on GitHub >

github_iconTop Results From Across the Web

Events are not shown in Devtools · Issue #245 · vuejs ... - GitHub
I can navigate to the tab, but no events are shown in it. The events work fine, as my application is still functioning...
Read more >
Chrome dev tools doesn't show the event listener added via ...
When I trigger the element event listener I can see that it logs to the console, perfect. But I wanted to know why...
Read more >
4 Ways to Debug JavaScript Events [With Google Chrome ...
Learn 4 debugging tools available to web developers in the Google Chrome DevTools console. We look at getEventListeners, the Event Listeners ...
Read more >
Monitor Events in Chrome Dev Tools - YouTube
This tutorial explains how you can use the monitorEvents feature in the Google Chrome Dev tools to learn valuable information about events ......
Read more >
View event listeners on elements - Chrome DevTools - Dev Tips
Inspect an element in the Elements Panel · Navigate to the Event Listeners Pane in the Elements Panel · Browse the events registered...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found