robenkleene
09/23/2020, 1:14 PMGarth Goldwater
09/23/2020, 3:20 PMIvan Reese
robenkleene
09/23/2020, 3:54 PMAndrew F
09/23/2020, 6:27 PMrobenkleene
09/23/2020, 6:32 PMAndrew F
09/23/2020, 8:37 PMrobenkleene
09/23/2020, 10:42 PMrobenkleene
09/23/2020, 10:47 PMrobenkleene
09/23/2020, 11:13 PMEmmanuel Oga
09/24/2020, 1:37 AMAndrew F
09/24/2020, 2:32 AMrobenkleene
09/24/2020, 4:30 PMrobenkleene
09/24/2020, 4:44 PMrobenkleene
09/24/2020, 4:46 PMrobenkleene
09/24/2020, 4:49 PMlaunch.json
file just to debug a default Node app? That's madness.
That's a great example of an early-stage VS Code feature, where a completely nutty implementation is just dropped on users. But over time I'm sure setting up debugging will be amazing, because of the pace of development. That's the VS Code way.robenkleene
09/24/2020, 4:54 PMgman
09/26/2020, 9:56 AMI do actually think VS Code has a weakness right now, and that's that it can't run in integrated browserwhat does this mean?
robenkleene
09/26/2020, 12:51 PMGarth Goldwater
09/26/2020, 3:32 PMrobenkleene
09/26/2020, 5:40 PMgman
09/27/2020, 6:27 AMrobenkleene
09/27/2020, 9:28 AMThere are plenty of plugins for VS code that show a live webpage in one pane.Not sure what you're talking about here? I'd love to see examples? I only know of one (https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview), and it uses Chrome's video sharing API to stream PNG images and that's why it has the performance issues documented here (https://github.com/auchenberg/vscode-browser-preview/issues/21).
If they used the files system then any 3rd party script loaded over the net would have access to their hard drive. Loading from the filesystem in a browser is just not something you should do.This is a restriction that's there because consumers are mainly accessing arbitrary (and potentially dangerous) websites over the internet, whereas the integrated browser would mainly be used to access local web development projects, which have a different risk profile. (Plus I'm not saying that the websites you access should have access to the file system, I'm saying that the developer tools should.)
As for bundling debugging tools into your own code, how does that have anything to do with VSC?When I said bundled with the source code, what I meant was, right now the Chrome DevTools (https://developers.google.com/web/tools/chrome-devtools/) are in the browser, which doesn't have access to your source files. I'm saying these tools could be more useful if there were in the IDE instead.
robenkleene
09/27/2020, 9:41 AMrobenkleene
09/27/2020, 9:54 AMrobenkleene
09/27/2020, 10:17 AMAnd finally, often you want to run via some staging server because the simple case where everything can run from local files would be an exception for most actual usage.I'm not sure what that's responding to, but I think the answer is source maps (https://developers.google.com/web/tools/chrome-devtools/javascript/source-maps) and Workspaces (https://developers.google.com/web/tools/chrome-devtools/workspaces). I.e., accessing local files and running a dev server are not mutually exclusive? Really I'm not talking about anything that doesn't already exist today, about half of what I want already exists, just with a atrocious UX because dev tools are essentially trying to stuff a second IDE into the browser.
gman
09/28/2020, 2:35 AMgman
09/28/2020, 2:46 AMgman
09/28/2020, 2:50 AMrobenkleene
09/28/2020, 12:07 PMlaunch.json
files.)robenkleene
09/28/2020, 12:16 PMrobenkleene
10/02/2020, 12:48 AM