jsproxy | 2019-07-24 v0 | Frontend Framework library
kandi X-RAY | jsproxy Summary
kandi X-RAY | jsproxy Summary
一个基于浏览器端 JS 实现的在线代理
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jsproxy
jsproxy Key Features
jsproxy Examples and Code Snippets
Community Discussions
Trending Discussions on jsproxy
QUESTION
I created a React Native project using the popular Ignite CLI v2.0.0
with the default boilerplate.
Then I adorned it with a bunch of nodejs shims, because I'll have some node-based dependencies.
Everything is working and I can run the Jest tests from the command line. So far, so good.
However, now one of my unit tests is timing out. This is probably due to an async call failing that invokes a mocked out node function. But there is no information on error, location, etc.
So I want to debug using Visual Studio Code v1.13.1
and here problem starts. I can't for the life of me figure out how to configure this so I can set breakpoints both in the tests as in the app code + node_modules
.
I have installed the React Native Tools v0.3.2
and can start the debugger using the default Debug Android
configuration:
ANSWER
Answered 2017-Jul-13 at 07:27Finally found the solution. It seems there are still a number of issues with the new inspector protocol in Node 8.*
. In short the support for --inspect
is still quite experimental.
For example the NodeJS Inspector Manager (NiM 0.13.8
) was crashing and disconnecting websocket after few second (See: NiM Github issue #17 and Chromium bug #734615).
So I downgraded NodeJS 8.1.2
--> 7.10.1
Now finally things work as expected. I can do all debugging in VS code, hit all the breakpoints, with the following debug configuration:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jsproxy
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page