style: add debug trace on some file

This commit is contained in:
HugoPoi 2020-01-07 16:47:09 +01:00
parent f192e4ebb4
commit 8f6317cea7
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ class CustomConcurrency extends Browser {
async workerInstance() {
const options = this.options.perBrowserOptions.shift();
debug('Launch puppeteer instance with options=%o', options);
let chrome = await this.puppeteer.launch(options);
let page;
let context;

View File

@ -10,6 +10,7 @@ const debug = require('debug')('se-scraper:Scraper');
module.exports = class Scraper {
constructor(options = {}) {
debug('constructor');
const {
config = {},
context = {},