GeezerVison is showing github.com — Add configuration not working - react native tools · Issue #985 · microsoft/vscode-react-native
Add configuration not working - react native tools #985DescriptionIssue Type: Bug
Hi, I wanted to use React-native debugger like this tutorial - https://github.com/Microsoft/vscode-react-native/blob/master/README.md#debugging-react-native-applications. However I'm running into problems getting it to work. I click on 'Add Configuration' in launch.json and nothing happens. I see no change. I expected that this would offer me some options. microsoft/vscode#63242 is a related issue I believe.
Extension version: 0.9.2
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:22:55.268Z)
OS version: Darwin x64 18.5.0
System Info
| Item |
Value |
| CPUs |
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200) |
| GPU Status |
2d_canvas: enabled checker_imaging: disabled_off flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: enabled rasterization: enabled surface_synchronization: enabled_on video_decode: enabled webgl: enabled webgl2: enabled |
| Load (avg) |
3, 3, 2 |
| Memory (System) |
16.00GB (1.72GB free) |
| Process Argv |
|
| Screen Reader |
no |
| VM |
0% |
Activitychanged the title [-]Add configuration not working[/-] [+]Add configuration not working - react native tools[/+] on Apr 23, 2019ruslan-bikkinin commented on Apr 23, 2019 springcoil commented on Apr 23, 2019 ContributorAuthor More actions ruslan-bikkinin commented on Apr 23, 2019 Usually it should be gray when launch.json is malformed. In your case just add these lines to launch.json to make it work again:
{
"version": "0.2.0",
"configurations": [
]
}Reacted by ofeksr Reacted by HZSamir springcoil commented on Apr 23, 2019 ContributorAuthor More actions Thanks so much. I'm happy with that resolution. Can I open a PR to just add this to the FAQs? ruslan-bikkinin commented on Apr 23, 2019 Peadar Coyle (@springcoil) I believe this is a regression in VS Code issue because Add configuration button supposed to be disabled in the past in cases like yours. I'd suggest you to let VS Code team know about it, as well, unless there is similar issue opened already. Chuk116 commented on May 22, 2024 I am having a similar issue that I can't quite figure out. I have the react-native tools extension downloaded on VSCode but when I click on the Add Configuration button I don't see any options for React Native. Additionally, when I click on the "Show all automatic debug configurations" in the Run And Debug side panel, I see the "React Native" option like this:

However, when I click the React Native option the dropdown is empty like this:
I feel like I have tried every solution that I have found on the web for related issues but nothing has worked so far. Any ideas for other possible solutions? Reacted by williamliangwl
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|