Debuging on local IIS

Hi,
I followed a previous thread and still can't debug.
1) I'm running vs2010 ServiceStack for rest services using IIS Experss http://localhost:8083/
2) All asp.net and js files are located in D:\VisualStudio2010\Rest\ServiceStackFBNW\src\ServiceStack.Northwind\ServiceStack.Northwind
3) From WS, Select Run,Edit Configuration and create a JSRemote Debug Entry and select Remote
> URL to open http://localhost:8083/
> Browser: Chrome
> Local Files: D:\VisualStudio2010\Rest\ServiceStackFBNW\src\ServiceStack.Northwind\ServiceStack.Northwind
> Show settings : Checked
4) From WS, Select File,Settings, Deployment
> Create NWFB entry
> Connection Type: Local or..
> Web Server : http://
> Mapping local path D:\VisualStudio2010\Rest\ServiceStackFBNW\src\ServiceStack.Northwind\ServiceStack.Northwind
(note Use this server as default is disabled)
>Mapping Web Path : localhost:8083 (project url: http://localhost:8083 and clicking opens fine)

index.html uses firebirdnortthwind.js
firebirdnortthwind.js is set with some breaks

When I run Menu

Test  Run,Debug,JSRemote
> http://localhost:8083/ comes up
> http://localhost:8083/Index.html#/ comes up but does not stop at break points.



If I try From Project select debug
Chrome opens as file:///D:/VisualStudio2010/Rest/ServiceStackFBNW/src/ServiceStack.Northwind/ServiceStack.Northwind/index.html#/
but chrome dev tools gives following error
XMLHttpRequest cannot load file:///D:/VisualStudio2010/Rest/ServiceStackFBNW/src/ServiceStack.Northwind/ServiceStack.Northwind/list.html. Origin null is not allowed by Access-Control-Allow-Origin.


Any ideas?
TIA
John
0

Hello,

are you scrips shown on 'Scripts' tab of the 'Debug' toolwindow? Does F4 (Open source) action work for them?

0

请先登录再写评论。