Enable inspector and debugger
This commit is contained in:
@@ -214,6 +214,7 @@ class OlxCrawler {
|
||||
|
||||
try {
|
||||
const res = await fetch(url);
|
||||
logDebug("Got category results for: ", url);
|
||||
const body = await res.text();
|
||||
const $ = cheerio.load(body);
|
||||
let hrefs = [];
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "node ./index.js",
|
||||
"start": "node --inspect ./index.js",
|
||||
"start-mon": "nodemon ./index.js",
|
||||
"migrate": "cd app && npx sequelize db:migrate",
|
||||
"seed": "cd app && npx sequelize db:seed:all",
|
||||
|
||||
Reference in New Issue
Block a user