Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger port conflict when you fork children #66

Closed
FranzZemen opened this issue Oct 23, 2016 · 7 comments
Closed

Debugger port conflict when you fork children #66

FranzZemen opened this issue Oct 23, 2016 · 7 comments

Comments

@FranzZemen
Copy link

I'm debugging my app and get a EADDRINUSE error when Tesseract.recognize is called. I hunted this down and I think its because you don't specify execArgv. See the following issue others have with debugging and forking in general:

nodejs/node#3469

As it stands, I can't debug to inspect the result.

@closertotheend
Copy link

Same issue, very annoying that debugger is not working. Any hacks?

@ztz0223
Copy link

ztz0223 commented Dec 27, 2016

I saw this issue too, looks like conflict with the nodemon

@tetreault
Copy link

bump

@seitbekir-seidametov-codeit
Copy link

seitbekir-seidametov-codeit commented Sep 4, 2019

Not really good solution, but OK fr debugging.

process.execArgv.length = 0

Tesseract.recognize(imagination)

@jeromewu
Copy link
Member

Close for now, please check v2 if the issue exists and reopen if needed.

@aeisenberg
Copy link

Please re-open this bug. It is still a problem in v2.0.0-beta.1.

Run this file with node --inspect:

const Tesseract = require('tesseract.js');
(async () => {
  await Tesseract.recognize('', 'eng', { logger: m => console.log(m) });
})();

@jeromewu jeromewu reopened this Oct 28, 2019
@jeromewu
Copy link
Member

Fixed in 2.0.0-beta.2, please check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants