javascript - VS2015 error "Application is not currently attached to a script debug target that supports script diagnostics" -
i created js
& html5
blank app visual studio 2015
. when running in vs debugger in "local machine" mode, following error message:
application not attached script debug target supports script diagnostics
just ignoring error not workable @ least breakpoints , console.log("text")
not work.
i'm having default options in vs. running normal win10
, automatic updates on. reinstallation of vs2015 did not solve issue.
this worked me although doing different. got same error message using ie 11 accessing html file local file system (was mucking around html). seems ie developer tools don't mode of operation (why?!). here's story...
file on local windows laptop:
c:\temp\test.html
can opened in these browsers:
url: file:///c:/temp/test.html (in chrome) url: c:\temp\test.html (in ie 11)
in chrome tools commands in console can run no problem e.g. console.log("hi");
in ie developer tools fails message cited op.
i had reverse proxy installed on laptop (nginx) tried serving file via http , fixed issue ie. here's how access file via http via proxy:
http://localhost:9092/temp/test.html
for reference here's nginx.conf (but other proxy expect work fine)...
worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; server { listen 9092; server_name localhost; location /temp { alias "c:/temp/"; } } }
Comments
Post a Comment