I'm very new to Vue and am trying to get a simple scoped breakpoint within my component.
<template>
<div class="date-picker">
<p>{{ date }}</p>
</div>
</template>
<script>
import moment from 'moment'
export default {
data () {
debugger;
return {
date: moment().format('YYYY-MM-DD')
}
}
}
</script>
<style lang="scss" scoped>
</style>
I was hoping the debugger statement could put a breakpoint where I could access moment in the Chrome developer console but that doesn't appear to work. Is this possible?