PHP Classes

File: public/assets/bower_components/bootstrap-datepicker/docs/_screenshots/script/debug.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   PHP Inventory Management System with Scanner   public/assets/bower_components/bootstrap-datepicker/docs/_screenshots/script/debug.js   Download  
File: public/assets/bower_components/bootstrap-datepicker/docs/_screenshots/script/debug.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Inventory Management System with Scanner
Manage inventory stock using scanner application
Author: By
Last change:
Date: 1 year ago
Size: 844 bytes
 

Contents

Class file image Download
/* Usage: $ phantomjs --remote-debugger-port=9001 --remote-debugger-autorun=yes debug.js page.html Open Chrome tab to http://localhost:9001/; open second link (ie, path to page.html) */ var system = require('system' ), fs = require('fs'), webpage = require('webpage'); (function(phantom){ var page=webpage.create(); function debugPage(){ console.log("Refresh a second debugger-port page and open a second webkit inspector for the target page."); console.log("Letting this page continue will then trigger a break in the target page."); debugger; // pause here in first web browser tab for steps 5 & 6 page.open(system.args[1]); page.evaluateAsync(function() { debugger; // step 7 will wait here in the second web browser tab }); } debugPage(); }(phantom));