Comments (2)
Part of #26
from mlxprs.
We should expect the debug user to have a local copy of the source code that she’s debugging remotely, such as deployed today by ml-gradle, e.g. https://github.com/marklogic-community/ml-gradle/tree/master/examples/data-services/src/main/ml-modules/root/helloWorld. We need to gracefully handle the case where the local copy is out of sync with what MarkLogic is running. However, I propose that we don’t need to assume that they might not have the source at all.
In particular, when a user finds a bug in their debugging activities, I’d expect them to
- Stop the debugging session
- Change the code in situ
- Redeploy to MarkLogic (probably automatically using ml-gradle’s watch functionality)
- Kick off another debugging session (hopefully via a test that tickles the bug in question)
Based on my early experience, that mostly works today in v2.0.0.
from mlxprs.
Related Issues (20)
- XQuery-debugging: when `dbg:eval()` fails, it should stop the debug process with a clear error message HOT 1
- Run marklogic-unit-test module HOT 2
- Eval against DHS instance not working with latest VS code release HOT 4
- Make sjs debug port configurable HOT 1
- Represent DH framework folder structure in a logical manner
- syntax highlight, code completion and auto-suggest is not working in vs-code HOT 2
- Connecting to https with custom CA HOT 3
- Update contributing.md to describe how to build and test locally HOT 1
- documentsDb does not correctly default to app server settings when left empty HOT 2
- Add ML log browsing and monitoring tooling HOT 6
- Client tests are failing
- Document how to run client tests via command line HOT 1
- JS Debug Tests are Failing HOT 1
- Update as many dependencies as possible HOT 1
- Circular JSON structure error when running eval HOT 1
- File Associations for MJS and SJS HOT 3
- Add the ability to validate TDEs and provide node extract
- Windows compatibility for npm scripts HOT 1
- Can't make it work with Marklogic Unit Test HOT 3
- VS Code UI/Debugging Enchancements 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 mlxprs.