# 编辑项目路径映射对话框

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com.cn/help/idea/llms.txt).

当您在 [运行/调试配置： Node.js](run-debug-configuration-node-js.html)中使用 [可通过 SSH 访问的远程 Node.js 运行时](node-via-ssh.html) 时，在   路径映射   字段旁点击 ![浏览按钮](https://resources.jetbrains.com.cn/help/img/idea/2026.3/app.general.ellipsis.svg)，将打开该对话框。

> **Note:**
> 可通过 SFTP 访问或位于 [Docker 容器](node-with-docker.html#ws_node_docker_create_run_debug_configuration)中的远程 Node.js 运行时的路径映射会自动从相应的 SFTP 部署配置或  `Dockerfile`  获取。 这些映射是只读的。

* 要添加自定义映射，请点击 !["添加"按钮](https://resources.jetbrains.com.cn/help/img/idea/2026.3/app.expui.general.add.svg)，并在 本地路径 和 远程路径 字段中分别指定项目中的路径和远程运行环境中的相应路径。 请手动输入路径或点击 ![浏览按钮](https://resources.jetbrains.com.cn/help/img/idea/2026.3/app.expui.general.open.svg)，在打开的对话框中选择相关的文件或文件夹。 ![创建 Node.js 运行配置：添加映射](https://resources.jetbrains.com.cn/help/img/idea/2026.3/ws_node_ssh_run_configuration_add_mapping.png) 指定本地文件夹以及远程主机上对应文件夹的路径。 例如，您可以将项目文件夹映射到 `/home/opc` 。 ![创建 Node.js 运行配置：已添加映射](https://resources.jetbrains.com.cn/help/img/idea/2026.3/ws_node_ssh_run_configuration_mapping_added.png)

* 要删除自定义映射，请在列表中选择它，然后点击 !["移除"按钮](https://resources.jetbrains.com.cn/help/img/idea/2026.3/调试配置：Node.js](run-debug-configuration-node-js.html)

