Comments (5)
Hi @xpuctto there is progress, but it's slow going.
What I have so far is on this branch https://github.com/nek4life/sfcc-studio/tree/debugger I'm able to start and stop the debugger, but the SDAPI needs to be wired into the xdebugger event handlers.
It's mainly figuring out how to extend the IDE and to do that there's a lot of reading other plugins and diving into the class implementations.
from sfcc-studio.
Thanks @ulitink I had been doing a bit of research and I believe you are right that xdebugger would be the way to go.
Here is a good example of how to use the xdebugger in action.
I don't remember seeing the documentation or do you just mean the documentation in the source code itself?
I think the next steps are to write an API client for the SDAPI. Then I think it's as "easy" as extending and hooking up all the right classes... I started writing one in Kotlin, but then ran into an issue trying to get kotlinx.serialization working within the IDE. It worked fine as a separate library. Not sure what I was doing wrong.
(Never used Kotlin before and wanted to try it out. I wonder if I'd get more contributions if I continue to use Java or if I started using Kotlin for everything)
I'll take a look at those classes you suggest as well! Thanks for the help!
from sfcc-studio.
Hi @nek4life ,
Is there any progress on the debugger, since that's the only reason I haven't started using IntelliJ as my main SFCC IDE?
from sfcc-studio.
It's not necessary to use scriptDebugger, with xdebugger a solution may be just a slightly more cumbersome. But xdebugger is documented and has a lot of examples.
As a starting point, I would suggest to implement SimpleConfigurationType and ProgramRunner. ProgramRunner#execute
should invoke com.intellij.xdebugger.XDebuggerManager#startSession
.
from sfcc-studio.
Initial version will be in the next release once it is approved by JetBrains
from sfcc-studio.
Related Issues (19)
- Does not sync to server HOT 7
- dw-api-types HOT 2
- create a wiki HOT 13
- isml fragments showing errors HOT 3
- Files are not synced when changed through separate process HOT 5
- uncaught exceptions HOT 3
- webpack output changed files not getting uploaded HOT 2
- FileNotFound Exception HOT 4
- Authenication NullPointerException HOT 2
- Delete file HOT 2
- update for latest version of webstorm HOT 5
- Rename file HOT 3
- Upload broken if empty cartridge directory HOT 1
- Idea 2019.3 HOT 3
- XXXX
- proxy issue HOT 3
- NullPointerException while uploading cartridges HOT 8
- Any chance to update to Idea 2022.3.2 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfcc-studio.