Webstrom debug error: This Environment was initialized without a V8::Inspector

When I want to debug node files, especially test files, I got this:

[debugConnector] Attaching debugger skipped (unhandled exception) This Environment was initialized without a V8::Inspector

 

Have no idea how to figure it out.

0
3 comments

What script are you trying to debug? The issue looks similar to https://github.com/nodejs/node/issues/48467.

0

I get this too when launching tests in debug mode from IntelliJ.

 

// sample.test.js
import {test} from 'node:test';

test('Test 1', t => {
    console.log(t.name);
});

 

0

Node tests are run with node --test sample.test.js command. So this is indeed the https://github.com/nodejs/node/issues/48467 issue.

0

Please sign in to leave a comment.