Community
Participate
Working Groups
Created attachment 262801 [details] Express project When tried to debug an express project (whose entry point is a non JavaScript file), I am getting IllegalArgument exceptions as stated below. Steps to reproduce: 1) Import attached project 2) (OPTIONAL) run npm install 3) Create a new Node.js debug configuration. Set the project to the one you import and the main file as bin/www file. 4) Run the debug session ************ java.lang.IllegalArgumentException: Path must include project and resource name: /expressJs at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63) at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2074) at org.eclipse.core.internal.resources.Container.getFile(Container.java:193) at org.eclipse.wst.jsdt.chromium.debug.core.ChromiumSourceComputer.computeSourceContainers(ChromiumSourceComputer.java:49) at org.eclipse.debug.internal.core.sourcelookup.SourcePathComputer.computeSourceContainers(SourcePathComputer.java:71) at org.eclipse.debug.core.sourcelookup.containers.DefaultSourceContainer.createSourceContainers(DefaultSourceContainer.java:117) at org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer.getSourceContainers(CompositeSourceContainer.java:133) at org.eclipse.debug.core.sourcelookup.containers.CompositeSourceContainer.findSourceElements(CompositeSourceContainer.java:48) at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant.findSourceElements(AbstractSourceLookupParticipant.java:70) at org.eclipse.wst.jsdt.chromium.debug.core.ChromiumSourceDirector$LookupParticipant.findSourceElementsSuper(ChromiumSourceDirector.java:136) at org.eclipse.wst.jsdt.chromium.debug.core.ChromiumSourceDirector$LookupParticipant.access$0(ChromiumSourceDirector.java:135) at org.eclipse.wst.jsdt.chromium.debug.core.ChromiumSourceDirector$LookupParticipant$SuperClassAccess.findSourceElements(ChromiumSourceDirector.java:147) at org.eclipse.wst.jsdt.chromium.debug.core.ChromiumSourceDirector$2.findSourceElements(ChromiumSourceDirector.java:165) at org.eclipse.wst.jsdt.chromium.debug.core.ChromiumSourceDirector$LookupParticipant.findSourceElements(ChromiumSourceDirector.java:132) at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector$SourceLookupQuery.run(AbstractSourceLookupDirector.java:142) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector.doSourceLookup(AbstractSourceLookupDirector.java:505) at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector.getSourceElement(AbstractSourceLookupDirector.java:785) at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.lookup(SourceLookupFacility.java:344) at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$SourceLookupJob.run(SourceLookupFacility.java:741) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)