Basic debugging with WebStorm
I have a basic node.js application that I am developming with WebStorm. I am getting an exception in the Jade file:
> 19| each item in products
20| tr
21| td
22| a(href='/product/details/#{item.SKU}') #{item.SKU}
Cannot read property 'length' of undefined
So I would like to set a break point here and see if it will give me more information. I am follwed the instructions for a debug configuration up untill I get to the step where I specify the 'Name'. In my version I am prompted for HTML. I am not sure what HTML I am supposed to put there, Hints?
请先登录再写评论。
Hi Kevin,
please, try using 'Node.js' or 'Node.js Remote Debug' run configurations instead of 'JavaScript Debug'
Best regards,
Lena
That is the HTML that I should enter?
Sorry, don't understand. Node.js run configuration doesn't require entering any HTML