Comments (6)
for the 0.1 series, doing this should work:
node --debug-brk path/to/volo command
for 0.2:
node --debug-brk `which volo` command
That gets you into the volo code, but not right at the point the volofile executes. Need to figure out a way to make that nice. Maybe have a debugger statement right before the volofile call so that the code will just stop there, then you can step into what happens with the volofile.
from volo.
I had to do something like this to get debugging to work:
node --debug-brk "`dirname "\`which volo\`"`/node_modules/volo/bin/volo"
Otherwise, node tries to run the shell script that executes volo. Could that shell script be changed to take care of --debug
and --debug-brk
?
from volo.
node seems to manage that transition and handling of the --debug* options. I'm not sure how to get around that. Similar to what you mention, the best I have been able to manage so far is:
node --debug-brk `which volo` command
from volo.
That's what I tried at first, but unfortunately it doesn't work on windows. Oh well, it works with the atrocity I pasted above and I have an alias set up for it anyhow :)
from volo.
Ah, OK. Well at the very least I think we should document what magic invocation should be used for this, depending on the platform. How are you running that command on Windows? cygwin shell, powershell, basic command line? Want to be sure we give the right info when documented.
from volo.
I'm running it under git-bash, which I guess uses msysgit. I haven't tried under cygwin, but I'd assume it's the same deal. Basically, the environment is essentially lost. A similar thing happens with volo create
actually, when it's trying to run npm install
. That I got around by patching volo (here) to use child_process.exec instead (I believe.)
from volo.
Related Issues (20)
- .ts files are always downloaded HOT 2
- volo add with amd does not save amd for future reinstall HOT 4
- installing companion css/less/scss file with my js script HOT 2
- external module/lib dependency overrides project dependency HOT 1
- Allow alternate archive HOT 2
- Main module example not creating adapter HOT 1
- Search API needs to be updated
- Update semver package, allow for more semver matching HOT 1
- Define github token on ENV variable in addition to .voloconfigfile
- Volo add local from package.json updates relative path
- Volo visual identity and website design HOT 2
- Do not add dependencies of dependencies to package.json file HOT 1
- volo add library/~version causing TypeError: Invalid Version HOT 1
- URL resolution error when using `volo.url` for github for v0.0.x tags
- Allow volofile.js for those who want to specify file format
- Fragment ID dep with local dependencies installs dir instead of single file.
- add individual file HOT 2
- Cannot assign to read only property 'exitCode' HOT 3
- AWS download URLs need extra handling
- Limit Number of Requests
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 volo.