-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL to v8_inspector in the Windows console is inconvenient to copy #7141
Comments
/cc @ofrobots |
+1 for this. Having the option to have the inspector opened automatically would be very useful. |
Very handy workaround from @cjihrig : https://github.com/continuationlabs/node-v8-inspector |
@vsemozhetbyt As a side note (since it's a generic problem when working with cmd in Windows): I'd recommend using ConEmu instead, as, among other things, it allows proper linear selection and copy and so on. Also, this is fixed in Windows 10 built-in console, but from the screenshots it looks like you're not using it, so might be not an option. |
@RReverser Thank you. I weighed in adoption of other console, but there are some forethoughts for me:
|
True, but, as I said above, default console has been fixed already. The issue here is rather that you might be using outdated version of Windows :) |
So, while Node.js supports Windows 7, somebody must be a test canary for the Windows 7 default console too :) |
FWIW I use Console2 which provides better copy&paste across lines and has been working very reliably for me. |
Seems like a |
May not be the most elegant solution, but as I found the process of copying and pasting the url every time a little clumsy (as well as refreshing etc...), I put together a little project this weekend: https://github.com/jaridmargolin/inspect-process People following this thread may find it helpful. |
Addressed this in #2546 but it's a closed issue, also in #9185 The following plugin helps in this case: It gives you the option of auto opening and closing the DevTools window in a tab or window. Just change the toggle from Manual to Auto and then start a debugging session. DevTools should open. And once you end your debugging session, DevTools will close. I was having the same issue a few days ago and wrote a Chrome extension to solve it. Would love any feedback. |
@jasnell there isn't a great way to find the Application Chrome/Chromium and fire it up across platforms. We could use |
@jasnell @bmeck - https://github.com/jaridmargolin/inspect-process uses selenium under the hood. Assuming there are a handful of reasons why you wouldn't want to put that into core. Additionally as for |
use this .bat file for running your debug process: mode con: cols=200 lines=25 |
@lacmuch Thank you. Personally, I've set something like that in default cmd window options. |
@vsemozhetbyt Should this remain open? |
I think not. The URL is shorter now and we have other ways to interact. Thank you. |
Selection in the default Windows console works in the block mode with line wrap replaced by line break in the copy.
A user can select a long URL with indentation only by selecting all the full lines:
On inserting in the address bar, the line break is replaced by
%20
and the URL becomes invalid:Currently a user has these workarounds:
Is there a way to address this inconvenience? Maybe a flag can be added to open the URL in the Chrome automatically.
The text was updated successfully, but these errors were encountered: