This repository was archived by the owner on Dec 23, 2021. It is now read-only.
Debug configuration fix #130
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
Solving some issues with the Debug Configuration :
Pacifica Simulator Debuggerconfiguration and run it even without having alaunch.jsonMost of those issues were fixed by adding
configuration.type = 'pacifica'instead ofpython, this way VS Code is not confused by which extension has to resolve the debugging session : ours starts and change the parameters to use our script then change theconfiguration.type = 'python'so the Python extension can take over and do the real debugging.Make sure you delete your previous
launch.jsonfiles and regenerate them as they will no longer work.Type of change
Limitations:
You'll need to open a folder in order to use it, but this might be link to the entire extension limitation.
Testing:
package.jsonfields then run the commandnpm run packagethen install the vsix from it)Checklist: