Open jazzyray opened 6 years ago
Hard coding host names, is where things fail:
wsclient.connect(wss://${functionName}.scm.azurewebsites.net/DebugSiteExtension/JavaDebugSiteExtension.ashx
, null, null, wsoptions, {auth: objCredential.name + ':' + objCredential.password});
This seems to be a dead project, any active developer here?
C:\Users\tv137qm\dev\embryonic-functions-api\api_authentication>dbgproxy emb-auth-prod-20180614.acemwnpaseemb01.p.azurewebsites.net localhost:5005 Function App: "emb-auth-prod-20180614.acemwnpaseemb01.p.azurewebsites.net" Subscription: "azsub-emeia-emw-typea-prod01" (ID = "9649282e-6ae7-4488-b646-195a841fca77") Resource Group: "azrg-tas-emb-managed-prod" Fetch debug settings: done done done Set JAVA_OPTS: done Set HTTP_PLATFORM_DEBUG_PORT: done Remote debugging is enabled on "emb-auth-prod-20180614.acemwnpaseemb01.p.azurewebsites.net" [Server] listening on 127.0.0.1:5005
Now you should be able to debug using "jdb -connect com.sun.jdi.SocketAttach:hostname=127.0.0.1,port=5005" [Server] client connected 127.0.0.1:59363 [WebSocket] Error: getaddrinfo ENOTFOUND emb-auth-prod-20180614.scm.azurewebsites.net emb-auth-prod-20180614.scm.azurewebsites.net:443