Debug not working when debug file with name that contains digit

I couldn't debug JavaScript files until now I found out what is the problem.

When debugging file with digit in the name it doesn't attach debugger but directly skip it.

 

While same thing without the digit is working fine and the debugger stops

Is this normal or it's a bug?

Note: this is working both ways in Visual Studio Code

1 comment
Comment actions Permalink

It's not about digits, it's about white spaces. If you rename your file to 2test.spec.js (without white spaces), debugging will work

Please follow https://youtrack.jetbrains.com/issue/WEB-26094 for updates

1

Please sign in to leave a comment.