Comments (10)
Yes, something like this is needed. We have not discussed this so far. So this may take some time, unless someone contributes this :-)
from gauge-js.
@renjithgr @kashishm Any inputs on this?
from gauge-js.
I have tried Node Inspector with gauge-js. We can check the possibilities.
from gauge-js.
I'm not familiar with the architecture of Gauge but I'd imagine that you could bind something like gauge debug specs
to node-debug myStartingPoint.js
instead of npm start
etc... How are you launching the app from the gauge "hook"? I suppose that should lead you to a solution but I could be wrong :)
from gauge-js.
We somehow need to attach the test implementation files in the debugger. My best guess is it will be in impl_loader
around the time when the vm is fired.
from gauge-js.
@ivanbportugal I have implemented debugging support (just now). This uses node-inspector.
I have put some info in the README section on Debugging. I haven't tested it in Windows yet. It should work if node-inspector
is installed. If this works under Windows, we'll do a full release soon!
@renjithgr @kashishm Help test this, please?
from gauge-js.
I think I am hitting nodejs/node-v0.x-archive#5841 in Windows. Can anyone confirm?
from gauge-js.
Okay, so you can now launch the debugger in Windows. But I could not get the breakpoints working on Windows. If we don't want to bother with Windows support in the first cut, we can safely say that debugging works in OSX and GNU/Linux.
Awaiting feedback...
from gauge-js.
Awesome, you guys rock! We use Windows on our project so I'd have to test out your solution. I'll take a look this weekend (at the latest Monday) but I wouldn't necessarily want you to have to wait for me before you release.
from gauge-js.
I tested extensively with Windows 8 and the debugger works across cmd
and powershell
. 😺
I'll close this issue now (and do a release). If anyone can reproduce debugger failure on Windows, feel free to reopen and add screenshots and stacktraces.
from gauge-js.
Related Issues (20)
- Switch gauge-js to pure javascript grpc
- Unable to SetReadDeadLine on runner: set tcp 127.0.0.1:51101: use of closed network connection HOT 3
- Unable to add JS webdriver for gauge. HOT 2
- OpenBrowser failures are not reported correctly. HOT 2
- package.json can't be in directory above
- Incomplete Stacktraces on test failures
- Taiko confirm(func) doesn't work with gauge-js HOT 4
- Array parameters become non-array when passed from inside a step HOT 4
- multi-threads for js runner HOT 3
- AfterSuite hook receives a "null context value HOT 1
- AfterSuite hook receives a "null" context value HOT 4
- js runner quit unexpectedly. Check logs for more details HOT 1
- Feature request: access table data by column name instead of column index HOT 3
- How to use same table parameters used for a Gauge spec across multiple senarios? HOT 1
- example.spec has an error in ## Display number of items HOT 1
- Unable to install Gauge Js plugin HOT 2
- Unable to install Gauge Js plugin on mac HOT 7
- Unable to run async functions within a step table HOT 6
- NodeJs 16 Gauge-JS plugin installation takes an hour of time in Ubuntu Container HOT 3
- Failed to install plugin 'js' for Gauge HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gauge-js.