相关疑难解决方法(0)

如何在Windows中使用PuTTY创建SSH隧道?

我需要在Windows中使用PuTTY创建SSH隧道,这与Linux中的此命令相同:

ssh -fN -L 2000:SomeIp:2000 myusername@myLinuxBox
Run Code Online (Sandbox Code Playgroud)

我在PuTTY中尝试了很多选项,包括将GUI中的源端口设置为"2000",将目标设置为"SomeIp:2000".目标设置为本地(如-L交换机所示).

我成功登录到我的SSH盒子但未进行端口转发.

这在Windows中是否可行,因此使用此端口(2000)的程序所做的所有连接都将通过此隧道?

windows ssh putty ssh-tunnel

29
推荐指数
3
解决办法
7万
查看次数

如何调试运行Chrome/WebKit作为远程调试器的Node.js服务器?

如果您的节点正在运行

node --debug server.js
Run Code Online (Sandbox Code Playgroud)

这给了我一个端口号xxxx,我应该在启动Chrome时使用这个端口号吗?

你从中远程调试Google\ Chrome --remote-debugging-port=xxxx吗?

或者9222是一个神奇的端口,因为它已被提及.

我是否在正确的轨道上,尝试将Chrome启动--remote-debugger到Node.js中server.js

webkit google-chrome node.js

19
推荐指数
3
解决办法
2万
查看次数

How to connect to a remote nodejs debug session using PhpStorm / WebStorm?

There appears to be a similar question as it about the predecessor to inspect, and I want to use inspect.

I have created a basic docker-compose stack from which I run my nodejs application. I want to listen for the debugger session and debug my JavaScript code within my local WebStorm.

I enter the container via

docker exec -it my_container bash
Run Code Online (Sandbox Code Playgroud)

And I call my nodejs script with the debugger running via inspect:

node --inspect ./cli.js start …
Run Code Online (Sandbox Code Playgroud)

remote-debugging node.js webstorm docker docker-compose

2
推荐指数
1
解决办法
901
查看次数