
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
mage-console
Advanced tools
Alternative MAGE development console, with REPL interface.
--debug
for Node.js < 8.0.0, --inspect
otherwise)This module is compatible with MAGE >= 1.0.0. Note that if
you have upgraded an older MAGE application to MAGE 1.0.0, you
will need to make sure that your ./lib/index.js
follows
the new initialisation pattern.
mage-console
will only work when your application is configured
in cluster mode to start a single process:
### Make sure `config/development.yml is configured as such
server:
cluster: 1
In your MAGE project:
npm install --save mage-console
Then, in your project's package.json
, update the develop script job
from npm run mage
to mage-console
:
{
"scripts": {
"develop": "mage-console"
}
}
If your project is a TypeScript project, set the value to ts-mage-console
instead:
{
"scripts": {
"develop": "ts-mage-console"
}
}
Then simply run npm run develop
like you would normally do.
The following ports are used automatically for debugging:
--debug
flags);--inspect
flags);The debugging interface is activated on workers: this means that when you will save code, the worker will be restarted, and your debugging session will be terminated.
While debugging is activated by default, debugging is attached to localhost; if you develop in a Docker container, this means you won't be able to connect remotely to the debugging port.
To solve this issue, you can set the DEBUG_HOST
environment variable, as follow:
DEBUG_HOST="0.0.0.0" npm run develop
This will instruct mage-console
to have the worker bind the debugging interface
on all available interfaces instead of only on localhost.
MIT.
FAQs
Alternative MAGE development console, with REPL interface
The npm package mage-console receives a total of 3 weekly downloads. As such, mage-console popularity was classified as not popular.
We found that mage-console demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.