3 Ways To Debug Your Vuejs Apps With VS Code And Chrome

  Рет қаралды 48,973

Program With Erik

Program With Erik

Күн бұрын

Пікірлер: 41
@ProgramWithErik
@ProgramWithErik 5 жыл бұрын
How do you guys debug?
@cesarp6761
@cesarp6761 5 жыл бұрын
lots and lots and lots of console logs hahaha
@im.empimp
@im.empimp 5 жыл бұрын
I actually have the vs debugger for chrome & firefox set up in my projects, but I just use it to ensure I use specific chrome/firefox instances (i.e. development-specific chrome/firefox instances, with Vue tools and a few accessibility dev tools added, but otherwise they're just default browser instances, so that none of my personal extensions or settings can cause side-effects)
@dongjunlee7246
@dongjunlee7246 3 жыл бұрын
Just use devtools amd console basic
@sossogamer2014
@sossogamer2014 3 жыл бұрын
@@cesarp6761 Me too :|
@mehdihassan551
@mehdihassan551 2 жыл бұрын
aap ka shukria
@hughmungus1767
@hughmungus1767 4 жыл бұрын
Erik, I'm wondering if you would consider doing an updated version of this for later versions of the software? Pretty much everything you've shown has newer versions now and I'm not finding the instructions you gave to be accurate any more. For example, I can't get Debugger for Chrome to connect from VS Code. In fact, this is the kind of video you might want to redo every year or two....
@kyletozer
@kyletozer 4 жыл бұрын
This works in .vue files but doesnt' stop at breakpoints set in the index.js where the app is mounted or any other non-vue .js file in my app. Anyone know why this is?
@santhoshraghavpidathala3701
@santhoshraghavpidathala3701 5 жыл бұрын
Can you please do a small example or project using all life cycle hooks? (When to use, which one for efficient programming)
@ProgramWithErik
@ProgramWithErik 5 жыл бұрын
Sure! I'll put it on my list
@santhoshraghavpidathala3701
@santhoshraghavpidathala3701 5 жыл бұрын
@@ProgramWithErik thanks alot for replying
@thinksabbir
@thinksabbir 5 жыл бұрын
@@ProgramWithErik Also if you could, please include the the information which ones not to use when one are developing SSR !
@derekkroeker4582
@derekkroeker4582 3 жыл бұрын
On yours it says 20 million downloads, on mine it says 8 million downloads? 3:28 so 1+ years later, the amount of downloads decreased? Did they make fake downloads, so that they had to delete more than half, or did they count people uninstalling it?
@lucapassani1129
@lucapassani1129 2 жыл бұрын
The VS code extension mentioned in the video is deprecated apparently. Would you consider a revision of the video? Thanks
@dgloria
@dgloria 3 жыл бұрын
Hi, this doesn't work. The first one. I have no idea what happens, but I can't see any variables.
@johnm8358
@johnm8358 5 жыл бұрын
Great tips, one thing I've always struggled with is debugging from jest tests into vue files, when I step into the Vue file it doesn't step in correctly..any vscode config for this?
@BansuriVoyage
@BansuriVoyage 5 жыл бұрын
want to debug a nuxt application in vs code. Trying to figure out the configs for that.
@SovietFrontier
@SovietFrontier 2 жыл бұрын
Chrome Debugger is now deprecated. vscode-js-debug has taken it's place.
@DK-kz5cs
@DK-kz5cs 5 жыл бұрын
could you provide what extensions/color theme/icon theme/font you used for this demo?
@ProgramWithErik
@ProgramWithErik 5 жыл бұрын
Synthwave 84
@DK-kz5cs
@DK-kz5cs 5 жыл бұрын
Program With Erik thank you
@cesarp6761
@cesarp6761 5 жыл бұрын
Thanks as always Erik.. I have a question.. I can run 'anything' in the devtools.. but I was wondering is.. when I'm calling for example and axios call from my page.. I can also type and run the same command in dev tools to query my database (and it thinks is also coming from own page).. how can I prevent any user from typing and running.. for example, using the same axios calls from the devtools (typing the command in the console) and stopping from querying my db?
@ProgramWithErik
@ProgramWithErik 5 жыл бұрын
Well, in production, they can't use devtools, since the debug will be turned off in production. The wouldn't be able to do anything like that.
@cesarp6761
@cesarp6761 5 жыл бұрын
@@ProgramWithErik I don't quite get it.. I can open any page and run commands in the console like when locally.. Am I missing something? a flag or code?
@oghenerukevwekofi7976
@oghenerukevwekofi7976 4 жыл бұрын
@@cesarp6761 You technically can't stop them from doing that. What you can do is make sure that your backend has really tight access-controls to make sure that the requests it gets are from legitimate and authorized users. If an authorized user wants to make calls to your backend with devtools, there's not much you can do about it. The key is making sure that your backend checks for that authorization and it's not really a big deal, so long as the user is authorized to do whatever it is they are doing...whether they're doing it through devtools or not doesn't matter.
@clasesutnfrc8699
@clasesutnfrc8699 Жыл бұрын
03:08 Debugging in VSCode
@milbonazwagerman5282
@milbonazwagerman5282 5 жыл бұрын
How to console log vue.js
@ProgramWithErik
@ProgramWithErik 5 жыл бұрын
Ha!
@jonathanbakebwa2292
@jonathanbakebwa2292 5 жыл бұрын
Super helpful! Thanks for this.
@ProgramWithErik
@ProgramWithErik 5 жыл бұрын
You are welcome!
@CG_GEOS
@CG_GEOS 3 жыл бұрын
clean and genius, thanks man!
@alexandershmidt6926
@alexandershmidt6926 3 жыл бұрын
thank you very much, my dear man, you helped me so much with your review!
@code-to-design
@code-to-design 4 жыл бұрын
Vuex time travel debugging would help alot
@bulp9893
@bulp9893 5 жыл бұрын
I working in vue but i have a same doubt so i like it before watch a video
@ProgramWithErik
@ProgramWithErik 5 жыл бұрын
Hope this video helped!
@AndrewOnTestingCars
@AndrewOnTestingCars 4 жыл бұрын
Thanks very much Greate video!
@risncch6595
@risncch6595 3 жыл бұрын
You're gonna lose viewers if you use Comic Sans
Tips and Tricks for Debugging JavaScript
13:03
James Q Quick
Рет қаралды 417 М.
5 Easy Ways To Pass Info To Vue Components!
26:50
Program With Erik
Рет қаралды 28 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
How to Debug Errors in Javascript and React JS 😲🔥
16:12
RoadsideCoder
Рет қаралды 15 М.
How to Debug a Vue App in Chrome
12:18
Suboptimal Engineer
Рет қаралды 20 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 360 М.
How to Debug Code Like a Pro
11:11
Lama Dev
Рет қаралды 67 М.
Vue 3 devtools | What's new?
8:15
Vue Mastery
Рет қаралды 17 М.
The New Way To Debug JavaScript in VS Code - No Extension Required
7:21
I Tried Every AI Coding Assistant
24:50
Conner Ardman
Рет қаралды 879 М.
Chrome DevTools: From friction to flow
16:28
Chrome for Developers
Рет қаралды 11 М.
Are you debugging JavaScript in VSCode? | YOU SHOULD!
7:06
Alex Ziskind
Рет қаралды 173 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,3 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН