netbeans
netbeans copied to clipboard
[JS] Debugger doesn't stop at breakpoint when set
Apache NetBeans version
Apache NetBeans 23
What happened
Based on this discussion here: https://github.com/apache/netbeans/discussions/7785 when I debug a JS file where a breakpoint was set, the debugger starts but never hit the breakpoint and the breakpoint looks broken and unresolved.
Language / Project Type / NetBeans Component
No response
How to reproduce
- Have a little JS function with a console.log inside and call the function at the end of the file
- Set a breakpoint inside this function where the console.log is located
- Right click on the js file in the project tab (NodeJS needs to be enabled in project settings, otherwise there is another debugger starting)
- Debugger started, runs the script and stopped but never hit the breakpoint, breakpoint seems broken/unresoved
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows 10, 64bit
JDK
17.0.10
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
Node 18.16.1
Are you willing to submit a pull request?
No