diff --git a/src/concurrency-implementation.js b/src/concurrency-implementation.js index d06650e..bace89c 100644 --- a/src/concurrency-implementation.js +++ b/src/concurrency-implementation.js @@ -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; diff --git a/src/modules/se_scraper.js b/src/modules/se_scraper.js index d4f64c9..7fe9e71 100644 --- a/src/modules/se_scraper.js +++ b/src/modules/se_scraper.js @@ -10,6 +10,7 @@ const debug = require('debug')('se-scraper:Scraper'); module.exports = class Scraper { constructor(options = {}) { + debug('constructor'); const { config = {}, context = {},