Re: [chromium-discuss] vs2015/7 debugging

27 views
Skip to first unread message
Message has been deleted

PhistucK

unread,
Dec 7, 2017, 12:11:48 PM12/7/17
to riccardo...@aptos.com, Chromium-discuss
Depending on how you run it, there might be a way (I simply googled "visual studio 2017 debug chrome") -


PhistucK

On Thu, Dec 7, 2017 at 6:20 PM, <riccardo...@aptos.com> wrote:
Hi folks,
just read about multi-client remote debugging on new stable version of Chrome.
I'm just wondering if it is possible to use vs2017 to debug.
Actually I know that is possible but my situation is a little different.
I'm developing an add-in for Excel Online using Angular 4. The addin run under an i-frame so I don't have direct access from VS.
At the moment, I debug using CDT on chrome itself with access to javascript maps so I can put a breakpoint on the .ts file on Chrome.
So, now, my question is, can I link in some way Chrome with VS2015 or VS2017 and debug from VS using Chrome?

Don't know if I'm clear :/

Thanks in advance
Riccardo

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.

riccardo...@aptos.com

unread,
Dec 7, 2017, 12:17:54 PM12/7/17
to Chromium-discuss, riccardo...@aptos.com
this is the case of a simple website. you start debug in VS, it deploys on a lite webserver, chrome open that page and VS read from chrom.
My case is different.
I need to build the app and deploy it on IIS (or other webserver). Then, on excel online, load a manifest that open an iframe pointed at the address of IIS.
So in this case, VS is not in debug mode. But, what i thought, is that VS need to be attached on Chrome process. At this point, both applications knows the .ts files of the page.

PhistucK

unread,
Dec 7, 2017, 12:50:39 PM12/7/17
to riccardo...@aptos.com, Chromium-discuss
I am not sure Visual Studio must be the one that "starts" the page. As long as you started your website in debugging mode, I believe it should be debuggable, even from an iFrame that other applications embed.
Did you enable remote debugging using the command line flag? If you did, this is probably a question for a Visual Studio forum rather than a Chrome forum, as Chrome provides a protocol and external applications are free to use it.


PhistucK

J Decker

unread,
Dec 7, 2017, 12:52:51 PM12/7/17
to phis...@gmail.com, riccardo...@aptos.com, Chromium-discuss

riccardo...@aptos.com

unread,
Dec 8, 2017, 3:26:09 AM12/8/17
to Chromium-discuss, phis...@gmail.com, riccardo...@aptos.com
I'll try thank you
Reply all
Reply to author
Forward
0 new messages