Skip to content

plugin does not work after last update of vscode #276

Closed

Description

Plugin doesn't appear in Configurations/Select Environment section.
When I attempted to click on debug IOS or debug Android in existing project VSCode shows this error: Configured debug type 'reactnative' is not supported.

Software versions

  • React-Native VS Code extension version: 0.1.5
  • VSCode version: 1.4.0
  • OS platform and version: OSX El-Capitan 10.11.6
  • React Native version: 0.27.2

Activity

  1. changed the title [-]plugin does not works after last update of vscode[/-] [+]plugin does not work after last update of vscode[/+] on Aug 4, 2016
  2. MSLaguana commented on Aug 4, 2016

    @MSLaguana
    Member

    What do you mean by "Configurations/Select Environment" section?

    If you go to the extensions section
    image do you see the React Native Tools extension listed as installed?

  3. aferust commented on Aug 4, 2016

    @aferust
    Author

    about 20 minutes a go, vscode displayed a pop up for update. It happened after update. Yes, React Native Tools extension is listed there. I tried reinstalling both the extension and VSCode. When I click 'gear' icon now, react native option is not displayed for newly created projects. And I cannot start any debug session for existing react native projects receiving "Configured debug type 'reactnative' is not supported".

  4. MSLaguana commented on Aug 4, 2016

    @MSLaguana
    Member

    I've just tried this out on an OSX 10.11.4 machine which I just updated to vscode 1.4.0, and it seems to be working correctly for me.

    Can you please try deleting the ~/.vscode/extensions/vsmobile.vscode-react-native-0.1.5 folder and then re-install the extension and see if that helps? And failing that, could you check to see if your ~/.vscode/extensions/vsmobile.vscode-react-native-0.1.5/package.json exists and contains something like

    "debuggers": [
    {
    "type": "reactnative",
    

    which is what defines the React Native debugger.

  5. aferust commented on Aug 4, 2016

    @aferust
    Author

    deleting vsmobile.vscode-react-native-0.1.5 folder and reinstalling did not solve the problem. this is what I see in package.json now:
    "debuggers": [
    {
    "type": "reactnative",
    "label": "React Native",
    "program": "./out/debugger/nodeDebugWrapper.js",
    "runtime": "node",
    "enableBrekapointsFor": {
    "languageIds": [
    "javascript",
    "typescript",
    "javascriptreact",
    "typescriptreact"
    ]
    },

  6. MSLaguana commented on Aug 4, 2016

    @MSLaguana
    Member

    That's very odd, and as far as I can tell it should work. I'll bring this up with some of the vscode team and see if it's an issue on their end.

    Thanks for letting us know about this.

  7. aferust commented on Aug 4, 2016

    @aferust
    Author

    I appreciate your efforts. Hope, it is solved soon.

  8. MSLaguana commented on Aug 5, 2016

    @MSLaguana
    Member

    From the linked vscode issue, it seems that updating to a newer or older version of vscode solves the issue. If anyone else hits it, consider trying a beta version from https://code.visualstudio.com/insiders

  9. pietgk commented on Aug 5, 2016

    @pietgk

    I had the same issue, installing the insiders solved the issue

  10. rouralberto commented on Aug 8, 2016

    @rouralberto

    Installing the Insiders build has not fixed this issue for me. Any ideas?

    Version 1.5.0-insider (1.5.0-insider)
    
  11. MSLaguana commented on Aug 17, 2016

    @MSLaguana
    Member

    roura356a and Veit Lehmann (@levito) could you please add details about the issue to microsoft/vscode#10148 if it is the same issue here (extension is installed, but no debugger seems to show up)

  12. weinand commented on Aug 17, 2016

    @weinand

    Jimmy Thomson (@MSLaguana) there is a typo in the enableBreakpointsFor attribute of the package.json. It is incorrectly spelled enableBrekapointsFor. I do not yet know whether this is the culprit...

  13. tangkunyin commented on Aug 21, 2016

    @tangkunyin

    Piet Groot Kormelink (@pietgk) Trying to install 1.5.0-insider and install react native tool.It work for me

  14. pietgk commented on Aug 21, 2016

    @pietgk

    i am already using it,
    until now no occurring of the issue.

    if it appears ill let you know immediatly

    thx piet

    On 21 Aug 2016, at 11:47, 唐先森(tangsir) [email protected] wrote:

    Piet Groot Kormelink (@pietgk) https://github.com/pietgk Trying to install 1.5.0-insider and install react native tool.It work for me

    —
    You are receiving this because you were mentioned.
    Reply to this email directly, view it on GitHub #276 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/ABkQ5BicSp_VmIyixpBRv_cI8aUnmPvRks5qiB6ugaJpZM4JdKNS.

  15. octref commented on Sep 1, 2016

    @octref

    Hi all. The fix is verified in VSCode Insider 1.5.0. You can download insider build or wait for the next release.

  16. litingjun2015 commented on Apr 21, 2017

    @litingjun2015

    Hi, I have similar issue 'Configured debug type 'reactnative' is not supported.'

    Software versions
    VSCode version: 1.11.2
    OS platform and version: OSX Sierra 10.12.3
    React Native version: 0.39.2

  17. iliaskarim commented on May 7, 2018

    @iliaskarim

    I have this issue on VSCode 1.23.0 on macOS High Sierra 10.13.4:

    Configured debug type 'reactnative' is not supported.
    
  18. navneetkarnani commented on May 11, 2018

    @navneetkarnani

    Ilias Mahqi (@ILI4S)
    I Saw this on 1.23.0. Updated to 1.23.1 and the simulator launches.

  19. ruslan-bikkinin commented on May 11, 2018

    @ruslan-bikkinin
    Contributor

    Hi Ilias Mahqi (@ILI4S)
    Please try to follow suggestion from here: #276 (comment). If it doesn't help you, please submit new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions