Skip to content

Commit

Permalink
update recommended vscode launch.json config (disable autoAttachChild…
Browse files Browse the repository at this point in the history
…Processes)

Auto attach would cause things such as Mapshaper's runCommandsXL() to
fail, when running in OCI containers, as VSCode would try to attach to
exec'ed child processes.

See: microsoft/vscode-js-debug#374
  • Loading branch information
hotzevzl committed Nov 2, 2023
1 parent 540bf92 commit 014d3ef
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/developers/editors/vscode/configs/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"outFiles": [
"!**/node_modules/**"
],
"sourceMaps": true
"sourceMaps": true,
"autoAttachChildProcesses": false // avoids issues with node child
// processes such as those exec'ed by Mapshaper's runCommandsXL()
},
{
"name": "Marxan Geoprocessing service",
Expand All @@ -30,7 +32,9 @@
"outFiles": [
"!**/node_modules/**"
],
"sourceMaps": true
"sourceMaps": true,
"autoAttachChildProcesses": false // avoids issues with node child
// processes such as those exec'ed by Mapshaper's runCommandsXL()
}
]
}

1 comment on commit 014d3ef

@vercel
Copy link

@vercel vercel bot commented on 014d3ef Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marxan – ./

marxan-vizzuality1.vercel.app
marxan23.vercel.app
marxan-git-develop-vizzuality1.vercel.app

Please sign in to comment.