How to trace log in browser devtools? #1415
slow-groovin
started this conversation in
General
Replies: 2 comments
-
You can enable source maps. It's annoying and Chrome keeps changing where settings are stored, so WXT can't really keep up with the changes: #912 (comment) Note that wxt/packages/module-vue/src/index.ts Lines 16 to 17 in fab9fa8 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, here is my config that can work: export default defineConfig({
vite: () => ({
build:{
sourcemap: true
},
}),
manifest: {
web_accessible_resources: [
{
matches: ['<all_urls>'],
resources: ['content-scripts/*.map'],
},
],
}
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Besides manually tagging, are there any easier ways to track the source code location of logs?
Beta Was this translation helpful? Give feedback.
All reactions