This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Please check the attached project, it contains configuration for Karma project with test folder outside of project root. Unlike in issue 245833, this project uses basePath Karma configuration property. Try to add line breakpoints to: - directives.js:5 - directives.js:11 - directivesSpec.js:11 - directivesSpec.js:15 And try to debug the tests. Breakpoints in directives.js are ignored, but breakpoints in directivesSpec.js works OK. In the debug.html opened by IDE, tests are referenced with URL /absolute/home/vriha/Downloads/karma_testy/245833/ext_test/project_debug_8/neco/test/unit/servicesSpec.js And sources with /base/app/js/directives.js Product Version: NetBeans IDE Dev (Build 201407220001) Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Created attachment 148192 [details] sample project run NPM install on the project
Should be fixed now. Thanks. http://hg.netbeans.org/web-main/rev/f5415f073fcf
Integrated into 'main-silver', will be available in build *201407230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f5415f073fcf User: Tomas Mysik <tmysik@netbeans.org> Log: #245863 - Debugging sources with Karma and external test folder with basePath property
Tested various configurations on Windows/Mac/Linux, issue with Windows is filled as 245931. Verified, thank you Product Version: NetBeans IDE Dev (Build 201407240001) Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)