Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Aardwolf is a remote JavaScript debugger for Android / iOS / Windows Phone 7 / BlackBerry OS 6+ and is written in JavaScript. It's available under the MIT license.
Home page: http://lexandera.com/aardwolf/
Currently it supports:
It consists of the following parts:
In order to run the examples you will need:
git clone git://github.com/lexandera/Aardwolf.git
If you're having problems opening the example, make sure that access to the port 8500 on your computer is not blocked by a firewall and that the address you entered into the config file can really be accessed from your phone. This is where your phone will load the samples from, so it must work.
You will get best results by connecting both you computer and your phone to the same WiFi network.
Aardwolf now also contains extrememly basic CoffeeScript support. It probably can't handle any serious real-world code, but it's a good starting point if someone wishes to fork the source and work on it.
The steps for debugging the CoffeeScript example are the same as the steps described above, except:
The procedure is the same as above, except:
node app.js -h <ip-or-hostname-of-your-computer> -d </path/to/www/root>
<script type="text/javascript" src="http://ip-or-hostname-of-your-computer:8500/aardwolf.js"> </script> <script type="text/javascript" src="http://ip-or-hostname-of-your-computer:8500/some-script.js"> </script> <script type="text/javascript" src="http://ip-or-hostname-of-your-computer:8500/some-other-script.js"> </script>
If you wish to debug code which gets concatenated into a single file, minified, or transformed in some other way, you can still use Aardwolf, but you'll need to make a minor change in the part of your application which reads the code before it gets transformed.
It is important that Aardwolf can access source files before they are processed. Therefore you will need to set it up just as described in the previous section, with the '-d' parameter pointing to the directory containing unprocessed files, then change the processing code in you application so it reads files served by Aardwolf instead of reading them straight from the filesystem.
For example, if your code looks something like this:
jscode += readFile('some-script.js');
jscode += readFile('some-other-script.js');
you would need to change it to something like this:
jscode += readFile('http://aardwolf-host:8500/aardwolf.js'); // Don't forget to include this!
jscode += readFile('http://aardwolf-host:8500/some-script.js');
jscode += readFile('http://aardwolf-host:8500/some-other-script.js');
In most languages, making the modification should be pretty straightforward. PHP's file_get_contents($url)
and Clojure's (slurp url)
will handle the change from local paths to URLs transparently. In Scala you can use io.Source.fromURL(url).mkString
, Ruby has the 'OpenURI' module and in NodeJS you should be able to read remote files using the 'request' module.
breakpoint tool
FAQs
remote debugger tool. Console log and breakpoint are supported
We found that breakpoint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.