-
Environmentos version:macox 10.15.6 Descriptioni have run ”Launch Browser Frontend“.after it open new chrome browser,i add a breakpoint on can anyone help me debug browser code in VSCODE? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@stat0s2p thank you for the discussion, have you viewed the documentation regarding debugging? |
Beta Was this translation helpful? Give feedback.
-
@vince-fugnitto then I add a breakpoint in chrome dev tools,I found it worked and active the vscode source file,but if I add a breakpoint direct in vscode source,it is still gray. also,If I add break point in althrough I can set breakpoint in devtool,but is too hard to location the code in devtool.Is a way that I can set a break point in vscode directly? |
Beta Was this translation helpful? Give feedback.
@vince-fugnitto
Dear,I installed a fresh ubuntu desktop os in vmware and follow every steps in https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md but it is still has gray break point in vscode.
then I add a breakpoint in chrome dev tools,I found it worked and active the vscode source file,but if I add a breakpoint direct in vscode source,it is still gray.
also,If I add break point in
examples/api-samples/src/browser/menu/sample-menu-contribution.ts
,it canot active the breakpoint both in chrome devtool and vscode source file.althrough I can set breakpoint in devtool,but is too hard to location the code in devtool.Is a way that I can set a break point in vscode directly?