React Native Tutorial #21 - Debugging in VS Code

  Рет қаралды 72,090

Mash School

Mash School

Күн бұрын

Пікірлер: 57
@mashschool
@mashschool 3 жыл бұрын
If you have any questions about this or request tutorials in this style, be sure to leave a comment below, and thank you for liking the video. 😉
@bestsongsreelsshortslatest1170
@bestsongsreelsshortslatest1170 3 жыл бұрын
Amazing!!!
@atif7865
@atif7865 2 жыл бұрын
can this be done for Expo projects as well?
@TheShaggy1966
@TheShaggy1966 Ай бұрын
I wish all KZbin instructional videos were this well done.
@qbakuba2057
@qbakuba2057 2 жыл бұрын
This really helped me out. Other tutorials didnt mention to click Debug at the end.
@namlevan2929
@namlevan2929 2 жыл бұрын
Thanks a lot. It helped me save my time to set breakpoints in Chrome debug console
@romandavydov3738
@romandavydov3738 Жыл бұрын
Very cool, man thx! It works still with latest versions
@udaysuddhala3512
@udaysuddhala3512 2 жыл бұрын
Thank you very much mash!! it saved my time and im very happy that i choosed ur tutorial :)
@sangram6848
@sangram6848 2 жыл бұрын
Thanks..my first day with React native and I was able to set up and debug easily! I tried few links already but couldn't figure out how the debug option comes up.
@nickbanderson
@nickbanderson 3 жыл бұрын
Awesome series thank you
@mashschool
@mashschool 3 жыл бұрын
Glad you enjoy it!
@voldemore6300
@voldemore6300 2 жыл бұрын
I run the project at the expo, so I don't have the d shortkey to access the debugging metro, I would shift this part of debugging ...do you have any idea for someone who is running project on the expo??
@2wardruid2
@2wardruid2 2 жыл бұрын
This video helped me a lot ! Thank you !
@stodani
@stodani 3 жыл бұрын
my breakpoint doesn't look red but rather a hollow white circle (black in the inside) and it doesn't make anything when i press the button... 4:04 also that circle besides "navigate" doesn't show up on my VS...
@filipemendes6140
@filipemendes6140 3 жыл бұрын
I was also struggling with this but I found the solution: Just right click the circle, then click the option that says "Edit breakpoint". It will open a tippable bar, click there to type and just hit enter.
@stodani
@stodani 3 жыл бұрын
@@filipemendes6140 thank youuuuuu!!!!
@phamanhtuan8732
@phamanhtuan8732 3 жыл бұрын
thanks for your video. Really useful!
@mashschool
@mashschool 3 жыл бұрын
Glad it was helpful!
@sanilkp6180
@sanilkp6180 3 жыл бұрын
Thank you!
@manishsaini021
@manishsaini021 3 жыл бұрын
so useful and awesome thank you
@anahitafakhravar1878
@anahitafakhravar1878 3 жыл бұрын
بسیار عالی. ممنون
@raphaelgaldino3129
@raphaelgaldino3129 Жыл бұрын
Awesome content, how I exit debbug mode?
@priyankaamahour
@priyankaamahour 2 жыл бұрын
Thank you if after entering d in terminal not opening options popup on the app, on app emulator click ctr+cmd+z
@ahmadalastal5303
@ahmadalastal5303 3 жыл бұрын
I am using TypeScript rather than Javascript, but the debugging session won't start [The orange color] it just keep loading and loading and no error is presented, any help ?
@Submersed24
@Submersed24 3 жыл бұрын
Just wondering, what is the "watch' bar for? I have been trying to find expressions that can be put in there with no luck
@18omarflores
@18omarflores 3 жыл бұрын
When I try debug and shake device for show the options, just show me debug with google instead of just debug like in video someones knows what is the reason?
@leonardoderigo2640
@leonardoderigo2640 3 жыл бұрын
How did you solve?
@TheAppAlchemist
@TheAppAlchemist 3 жыл бұрын
thank you
@omsun456
@omsun456 3 жыл бұрын
When I try to click Debug in emulator, its still pointing to chrome , somehow its not reaching vscode pls help
@leonardoderigo2640
@leonardoderigo2640 3 жыл бұрын
How did you solve it?
@aleksandrmatyka3118
@aleksandrmatyka3118 2 жыл бұрын
Do we have ability for debug in webshtorm?
@anandandtech6580
@anandandtech6580 6 ай бұрын
when i debug android code in visual studio code using react native my vs code tries to open js in flipper why. please guide me
@JuanLopez-dw2mi
@JuanLopez-dw2mi 2 жыл бұрын
I've spent all day trying to get it to work with axios calls. The call and response is working when not in debug mode. Is there a solution for this?
@shaswatisaha309
@shaswatisaha309 2 жыл бұрын
Hi, I tried to follow your steps but got this error: "Disconnected from the Proxy (Packager) to the React Native application. Retrying reconnection soon..." in the debug console. Any solution for that?
@shabaaz27
@shabaaz27 3 жыл бұрын
Nice 👏
@mashschool
@mashschool 3 жыл бұрын
Thanks ✌
@zakmiltan
@zakmiltan 3 жыл бұрын
Do you have a expo version , because i could not make it work following your instructions. but using "expo start" instead of "react-native start" I never get the debug menu on the device or emulator. could you help please?
@mashschool
@mashschool 3 жыл бұрын
You can read about showing developer menu in expo here: docs.expo.io/workflow/development-mode/#showing-the-developer-menu Also you should set the port as I mentioned in the end of video.
@deeps-cg3lc
@deeps-cg3lc Жыл бұрын
Hi Mesh, I am getting below error while debugging in VS code, An error occurred while launching the application. Error while executing command '/Users/NAME/Documents/react_codes/AwesomeProject/node_modules/.bin/react-native run-ios --udid EF42321F-4D43-4307-9C70-A9F5EE4248DA --no-packager --verbose' (error code 101) (error code 303)
@omeileo
@omeileo 3 жыл бұрын
My breakpoint is hollow (not red) and says 'Unbound breakpoint' when I hover over it. It doesn't stop at the code when I run it. Is there a fix for this?
@diegosalasnoain1149
@diegosalasnoain1149 3 жыл бұрын
If you are using typescript you need to enable: "sourceMap": true, "sourceRoot": "./", "mapRoot": "./", in the tsconfig.json That will allow the breakpoint to be bounded. You need to also make sure you are allowing to use breakpoints everywhere in you app by going to Code/Preferences/Settings. Search "Debug" and make sure the "Allow Brakpoints Everywhere" is enabled. That should be sufficient.
@ahmadalastal5303
@ahmadalastal5303 3 жыл бұрын
@@diegosalasnoain1149 tried that but my debugging session won't start, OUTPUT give me Packager is started and the debugging session doesn't start, any help ?
@Zahid110-r7u
@Zahid110-r7u 3 жыл бұрын
But sir exciting failed task app process debug ManiMan fast error how to solve
@sogxeuro
@sogxeuro 2 жыл бұрын
Anyone able to get this to work with TypeScript?
@niteeshsatyapu104
@niteeshsatyapu104 3 жыл бұрын
Can you help me on face detection in react native expo please
@mashschool
@mashschool 3 жыл бұрын
You can use this API from Expo: docs.expo.io/versions/latest/sdk/facedetector/
@shabaaz27
@shabaaz27 3 жыл бұрын
Bro i want animated view for text input
@mashschool
@mashschool 3 жыл бұрын
After this series, I'll work on a set of animated components including Text Input.
@shabaaz27
@shabaaz27 3 жыл бұрын
@@mashschool keep going your content is good. Subscribers will come to you automatically Do videos using react components as well. Try to update what errors we face using components in react native Example while installing react-gesture-handler Am from chennai,India All the best.
@mashschool
@mashschool 3 жыл бұрын
Thanks for your suggestions.
@alir8zana635
@alir8zana635 3 жыл бұрын
why would you try and copy the style of coding with mosh and net ninja? why do you think you don't have the knowledge or ability to become a brand yourself ?
@sultanali6411
@sultanali6411 2 жыл бұрын
too much adds do you think your tutorial is such a legend to be seen with extra adds
@lettechtutorials
@lettechtutorials 17 күн бұрын
After Mosh, You are Mash
@unpamprogramming4497
@unpamprogramming4497 3 жыл бұрын
Gak ngerti asw
@jass__0
@jass__0 11 ай бұрын
@hkthktm
@hkthktm 2 жыл бұрын
thank you
How To Debug React Apps Like A Senior Developer
21:07
Web Dev Simplified
Рет қаралды 181 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 17 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
How to Debug React Native App - From Zero to Hero 4
26:31
Just Code
Рет қаралды 12 М.
The Most Important Skill You Never Learned
34:56
Web Dev Simplified
Рет қаралды 222 М.
How to Debug Code Like a Pro
11:11
Lama Dev
Рет қаралды 66 М.
React Native just dropped a MASSIVE update
15:06
Mehul - Codedamn
Рет қаралды 70 М.
Everything You Need to Know about Debugging in VSCode
7:02
ArjanCodes
Рет қаралды 47 М.
Vim in 100 Seconds
11:53
Fireship
Рет қаралды 1,2 МЛН
Cedric van Putten - Debugging should be easier | App.js Conf 2023
16:43
Software Mansion
Рет қаралды 4,7 М.
Where Does Bad Code Come From?
42:21
Molly Rocket
Рет қаралды 204 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 17 МЛН