React Native Tutorial #21 - Debugging in VS Code

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 58

  • @mashschool
    @mashschool  3 роки тому +7

    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. 😉

  • @TheShaggy1966
    @TheShaggy1966 Місяць тому

    I wish all UA-cam instructional videos were this well done.

  • @qbakuba2057
    @qbakuba2057 2 роки тому +2

    This really helped me out. Other tutorials didnt mention to click Debug at the end.

  • @sangram6848
    @sangram6848 2 роки тому +3

    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.

  • @romandavydov3738
    @romandavydov3738 Рік тому

    Very cool, man thx! It works still with latest versions

  • @namlevan2929
    @namlevan2929 2 роки тому

    Thanks a lot. It helped me save my time to set breakpoints in Chrome debug console

  • @udaysuddhala3512
    @udaysuddhala3512 2 роки тому

    Thank you very much mash!! it saved my time and im very happy that i choosed ur tutorial :)

  • @nickbanderson
    @nickbanderson 3 роки тому +2

    Awesome series thank you

  • @2wardruid2
    @2wardruid2 2 роки тому

    This video helped me a lot ! Thank you !

  • @voldemore6300
    @voldemore6300 2 роки тому +1

    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??

  • @phamanhtuan8732
    @phamanhtuan8732 3 роки тому +1

    thanks for your video. Really useful!

  • @stodani
    @stodani 3 роки тому +2

    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!!!!

  • @sanilkp6180
    @sanilkp6180 2 роки тому

    Thank you!

  • @manishsaini021
    @manishsaini021 2 роки тому

    so useful and awesome thank you

  • @ahmadalastal5303
    @ahmadalastal5303 3 роки тому +1

    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 ?

  • @anahitafakhravar1878
    @anahitafakhravar1878 2 роки тому

    بسیار عالی. ممنون

  • @omsun456
    @omsun456 3 роки тому +3

    When I try to click Debug in emulator, its still pointing to chrome , somehow its not reaching vscode
    pls 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

  • @TheAppAlchemist
    @TheAppAlchemist 3 роки тому

    thank you

  • @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

  • @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?

  • @raphaelgaldino3129
    @raphaelgaldino3129 Рік тому

    Awesome content, how I exit debbug mode?

  • @18omarflores
    @18omarflores 3 роки тому +2

    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?

  • @aleksandrmatyka3118
    @aleksandrmatyka3118 2 роки тому

    Do we have ability for debug in webshtorm?

  • @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?

  • @shabaaz27
    @shabaaz27 3 роки тому

    Nice 👏

  • @anandandtech6580
    @anandandtech6580 5 місяців тому

    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

  • @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 роки тому +1

      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)

  • @Zahid110-r7u
    @Zahid110-r7u 3 роки тому

    But sir exciting failed task app process debug ManiMan fast error how to solve

  • @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 роки тому +1

      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 ?

  • @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 роки тому +2

      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.

  • @lettechtutorials
    @lettechtutorials 3 дні тому

    After Mosh, You are Mash

  • @sultanali6411
    @sultanali6411 2 роки тому

    too much adds
    do you think your tutorial is such a legend to be seen with extra adds

  • @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 ?

  • @unpamprogramming4497
    @unpamprogramming4497 3 роки тому

    Gak ngerti asw

  • @jass__0
    @jass__0 10 місяців тому

  • @hkthktm
    @hkthktm 2 роки тому

    thank you