[GH-ISSUE #958] Improve scripting console #955

Open
opened 2026-03-03 19:23:19 +03:00 by kerem · 6 comments
Owner

Originally created by @florentmorin on GitHub (Aug 11, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/958

Originally assigned to: @NghiaTranUIT on GitHub.

Scripting is excellent, but console is too small.

Proxyman version? (Ex. Proxyman 1.4.3)

Proxyman 2.31.0

macOS Version? (Ex. mac 10.14)

Mac 11

Steps to reproduce

Create a wonderful script that made request body more understandable.
Displaying result with many console.log().

Current behavior

A small console.

Expected behavior

A big fullscreen console to show result while debugging.

Originally created by @florentmorin on GitHub (Aug 11, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/958 Originally assigned to: @NghiaTranUIT on GitHub. Scripting is excellent, but console is too small. ### Proxyman version? (Ex. Proxyman 1.4.3) Proxyman 2.31.0 ### macOS Version? (Ex. mac 10.14) Mac 11 ### Steps to reproduce Create a wonderful script that made request body more understandable. Displaying result with many `console.log()`. ### Current behavior A small console. ### Expected behavior A big fullscreen console to show result while debugging.
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 12, 2021):

Thanks for your report @florentmorin.

I suppose that I would introduce a Toggle that brings the Console Log View to the Right Side (Vertical) or Bottom Side. Therefore, the Console Log can display more content by leveraging empty space of the Editor View 👍

<!-- gh-comment-id:897279188 --> @NghiaTranUIT commented on GitHub (Aug 12, 2021): Thanks for your report @florentmorin. I suppose that I would introduce a Toggle that brings the Console Log View to the Right Side (Vertical) or Bottom Side. Therefore, the Console Log can display more content by leveraging empty space of the Editor View 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Aug 12, 2021):

Hey @florentmorin let try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.31.0_Sidebar_for_console_log.dmg

You can toggle the Console Log, to dock on a Bottom (default) or the Right bar, so it can display more content 👍

Screen_Shot_2021-08-12_at_16_04_53

<!-- gh-comment-id:897622968 --> @NghiaTranUIT commented on GitHub (Aug 12, 2021): Hey @florentmorin let try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.31.0_Sidebar_for_console_log.dmg You can toggle the Console Log, to dock on a Bottom (default) or the Right bar, so it can display more content 👍 ![Screen_Shot_2021-08-12_at_16_04_53](https://user-images.githubusercontent.com/5878421/129201694-a679ea90-3289-4666-bb46-be54ecd5fa59.png)
Author
Owner

@florentmorin commented on GitHub (Aug 12, 2021):

Perfect 👍

<!-- gh-comment-id:897689542 --> @florentmorin commented on GitHub (Aug 12, 2021): Perfect 👍
Author
Owner

@JasonBoy commented on GitHub (Mar 2, 2023):

@NghiaTranUIT I was wondering console.log(arg) can only log the first argument? when I try console.log('url:', url), i cannot see the real url, maybe this could also be improved:
CleanShot 2023-03-02 at 13 42 22

<!-- gh-comment-id:1451441864 --> @JasonBoy commented on GitHub (Mar 2, 2023): @NghiaTranUIT I was wondering `console.log(arg)` can only log the first argument? when I try `console.log('url:', url)`, i cannot see the real url, maybe this could also be improved: ![CleanShot 2023-03-02 at 13 42 22](https://user-images.githubusercontent.com/2911620/222365962-4c2e1ddd-0424-4342-a872-79444931c458.png)
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 2, 2023):

Hey sorry for the problem, it's because console.log() is not a native API, it's a custom API from Swift-bridge.

For now, it only accepts 1 arg. You can use:

console.log(`Res URL ${url}`)
<!-- gh-comment-id:1451445690 --> @NghiaTranUIT commented on GitHub (Mar 2, 2023): Hey sorry for the problem, it's because `console.log()` is not a native API, it's a custom API from Swift-bridge. For now, it only accepts 1 arg. You can use: ```js console.log(`Res URL ${url}`) ```
Author
Owner

@JasonBoy commented on GitHub (Mar 2, 2023):

ok, thanks

<!-- gh-comment-id:1451458486 --> @JasonBoy commented on GitHub (Mar 2, 2023): ok, thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#955
No description provided.